Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.374/2.374, allocations: 390.3 MB / 402.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009807/0.0009807, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000962/0.0009621, allocations: 103.8 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.023e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.318, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.48, allocations: 149.6 MB / 1.365 GB, free: 4.457 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/1.48, allocations: 66.02 kB / 1.365 GB, free: 4.422 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002821/1.483, allocations: 1.093 MB / 1.366 GB, free: 3.453 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.743e-06/1.483, allocations: 4 kB / 1.366 GB, free: 3.449 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.655e-05/1.483, allocations: 4 kB / 1.366 GB, free: 3.445 MB / 0.823 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.0003571/1.484, allocations: 349.6 kB / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/1.484, allocations: 12.03 kB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.463e-05/1.484, allocations: 11.86 kB / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/1.484, allocations: 174.9 kB / 1.366 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/1.484, allocations: 11.17 kB / 1.366 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/1.484, allocations: 7.688 kB / 1.366 GB, free: 2.82 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/1.484, allocations: 89.91 kB / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.484, allocations: 0 / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.484, allocations: 3.25 kB / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.484, allocations: 4 kB / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/1.484, allocations: 35.44 kB / 1.367 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/1.485, allocations: 454.3 kB / 1.367 GB, free: 2.246 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.057e-05/1.485, allocations: 42.5 kB / 1.367 GB, free: 2.191 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/1.485, allocations: 22.47 kB / 1.367 GB, free: 2.168 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/1.485, allocations: 4 kB / 1.367 GB, free: 2.164 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/1.485, allocations: 30.56 kB / 1.367 GB, free: 2.125 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.485, allocations: 0 / 1.367 GB, free: 2.125 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001721/1.485, allocations: 53.34 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/1.485, allocations: 77.11 kB / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/1.486, allocations: 147.4 kB / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/1.486, allocations: 25.7 kB / 1.367 GB, free: 1.809 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/1.486, allocations: 106 kB / 1.368 GB, free: 1.711 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/1.486, allocations: 3.906 kB / 1.368 GB, free: 1.707 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/1.486, allocations: 0 / 1.368 GB, free: 1.707 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.486, allocations: 326.3 kB / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/1.486, allocations: 11.25 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/1.486, allocations: 17.03 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.656e-05/1.486, allocations: 11.38 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.486, allocations: 4 kB / 1.368 GB, free: 1.344 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.13e-05/1.486, allocations: 61.34 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.486, allocations: 7.938 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/1.486, allocations: 4 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.486, allocations: 0 / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/1.486, allocations: 4 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.486, allocations: 0 / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/1.486, allocations: 19.91 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/1.486, allocations: 0 / 1.368 GB, free: 1.25 MB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.891e-05/1.486, allocations: 113.1 kB / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/1.486, allocations: 7.906 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/1.486, allocations: 14.92 kB / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.486, allocations: 4 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.486, allocations: 0 / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/1.486, allocations: 0 / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/1.487, allocations: 479.1 kB / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.487, allocations: 0 / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/1.487, allocations: 4 kB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/1.487, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/1.487, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.487, allocations: 4 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.487, allocations: 0 / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.917e-05/1.487, allocations: 98 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/1.487, allocations: 85.02 kB / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/1.487, allocations: 0 / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/1.487, allocations: 3.375 kB / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/1.487, allocations: 3.984 kB / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/1.487, allocations: 4 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of sorting global known variables: time 8.991e-05/1.487, allocations: 119.9 kB / 1.369 GB, free: 268 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.61e-07/1.487, allocations: 4 kB / 1.369 GB, free: 264 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001592/1.487, allocations: 8 kB / 1.369 GB, free: 256 kB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001398/1.488, allocations: 99.23 kB / 1.369 GB, free: 148 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.558e-05/1.488, allocations: 19.56 kB / 1.369 GB, free: 132 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.488, allocations: 0 / 1.369 GB, free: 132 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.006e-05/1.488, allocations: 4 kB / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/1.488, allocations: 10.14 kB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/1.488, allocations: 105.7 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/1.488, allocations: 0.7004 MB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.415e-05/1.488, allocations: 8.422 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/1.488, allocations: 11.44 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.488, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.00243/1.491, allocations: 434.1 kB / 1.37 GB, free: 14.84 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches