Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 192 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.533/2.533, allocations: 461.9 MB / 0.7346 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.7 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2429, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001994/0.2449, allocations: 0.837 MB / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001047/0.245, allocations: 35.8 kB / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.2451, allocations: 4 kB / 1.054 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.37e-05/0.2452, allocations: 7.875 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/0.2452, allocations: 11.91 kB / 1.054 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.139e-05/0.2453, allocations: 19.98 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.2454, allocations: 63.78 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.2455, allocations: 47.97 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.38e-05/0.2456, allocations: 23.88 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.2456, allocations: 27.84 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2456, allocations: 8 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.2457, allocations: 4 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.2457, allocations: 15.94 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.2457, allocations: 39.73 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.932e-05/0.2458, allocations: 67.98 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2458, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2458, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.2458, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003673/0.2462, allocations: 379.3 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2463, allocations: 8.625 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.2463, allocations: 42.69 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.2463, allocations: 12.83 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.2465, allocations: 192.2 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2465, allocations: 12.28 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.2466, allocations: 8.312 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.2467, allocations: 99.83 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2467, allocations: 7.938 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.2467, allocations: 0 / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2468, allocations: 4 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.2468, allocations: 39.97 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.2473, allocations: 440.5 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.156e-05/0.2474, allocations: 37.22 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.2474, allocations: 25.77 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.2474, allocations: 4.031 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.2475, allocations: 34.56 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2475, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000162/0.2476, allocations: 57.47 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.2477, allocations: 77.11 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2478, allocations: 169.3 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.2478, allocations: 25.7 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.2479, allocations: 100 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.2479, allocations: 7.906 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.2479, allocations: 17.72 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.248, allocations: 318.8 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.2481, allocations: 4 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.2481, allocations: 17.72 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.2481, allocations: 37.64 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2481, allocations: 0 / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.763e-05/0.2482, allocations: 53.61 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2482, allocations: 7.938 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2482, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2483, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.2483, allocations: 15.92 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.2483, allocations: 4.062 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.2484, allocations: 11.84 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.2484, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.235e-05/0.2485, allocations: 113.8 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.2485, allocations: 11.84 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.2485, allocations: 11.88 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2485, allocations: 0 / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2486, allocations: 7.922 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2486, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.2489, allocations: 474.8 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2489, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.249, allocations: 7.938 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.249, allocations: 0 / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.249, allocations: 0 / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.249, allocations: 4 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.249, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.895e-05/0.2491, allocations: 85.83 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.2491, allocations: 89.02 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2492, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.2492, allocations: 4 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.2492, allocations: 3.984 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.2492, allocations: 4 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.183e-05/0.2493, allocations: 123.3 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2493, allocations: 0 / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000184/0.2495, allocations: 4 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004006/0.2499, allocations: 0.6171 MB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.689e-05/0.25, allocations: 20 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.25, allocations: 0 / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.214e-05/0.25, allocations: 7.938 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.2502, allocations: 9.562 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.2512, allocations: 1.319 MB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.2514, allocations: 0.6924 MB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.056e-05/0.2515, allocations: 8.438 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.2515, allocations: 31.36 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2515, allocations: 0 / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.2735, allocations: 1.543 MB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.71/6.984, allocations: 9.516 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches