Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001624/0.001624, allocations: 187 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 223.2 MB / 0.7948 GB, free: 18.77 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.001042/0.001042, allocations: 100.3 kB / 0.9346 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003844, allocations: 9.469 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3252, allocations: 142.4 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.523, allocations: 148.8 MB / 1.368 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.5233, allocations: 67.97 kB / 1.368 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00258/0.5259, allocations: 1.091 MB / 1.369 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5259, allocations: 0 / 1.369 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.5259, allocations: 4 kB / 1.369 GB, free: 3.391 MB / 0.8698 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.000367/0.5263, allocations: 365 kB / 1.37 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.5264, allocations: 8.031 kB / 1.37 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.5264, allocations: 11.86 kB / 1.37 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.5266, allocations: 190.8 kB / 1.37 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.5266, allocations: 4 kB / 1.37 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.5266, allocations: 8.219 kB / 1.37 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.5268, allocations: 87.39 kB / 1.37 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5268, allocations: 3.938 kB / 1.37 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.5268, allocations: 4 kB / 1.37 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5268, allocations: 4 kB / 1.37 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/0.5269, allocations: 35.92 kB / 1.37 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000638/0.5276, allocations: 452.5 kB / 1.37 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.85e-05/0.5276, allocations: 41.34 kB / 1.37 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.5277, allocations: 3.984 kB / 1.37 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.5277, allocations: 34.56 kB / 1.371 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5277, allocations: 0 / 1.371 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001898/0.5279, allocations: 57.59 kB / 1.371 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.528, allocations: 77.36 kB / 1.371 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.5281, allocations: 147.6 kB / 1.371 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.5281, allocations: 25.7 kB / 1.371 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.5282, allocations: 111.9 kB / 1.371 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.5282, allocations: 3.906 kB / 1.371 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.5282, allocations: 0 / 1.371 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5284, allocations: 322.8 kB / 1.371 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.5284, allocations: 8 kB / 1.371 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.5284, allocations: 17.72 kB / 1.371 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/0.5285, allocations: 15.94 kB / 1.371 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5285, allocations: 4 kB / 1.371 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.308e-05/0.5286, allocations: 57.55 kB / 1.371 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5286, allocations: 4 kB / 1.371 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5286, allocations: 4 kB / 1.371 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5286, allocations: 0 / 1.371 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.5287, allocations: 7.984 kB / 1.371 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.5287, allocations: 64 / 1.371 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.5287, allocations: 15.84 kB / 1.371 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.5287, allocations: 0 / 1.371 GB, free: 1.062 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.106e-05/0.5288, allocations: 117.8 kB / 1.371 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.5289, allocations: 7.906 kB / 1.371 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.5289, allocations: 11.88 kB / 1.371 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.5289, allocations: 0 / 1.371 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5289, allocations: 3.938 kB / 1.372 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.529, allocations: 3.984 kB / 1.372 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.5294, allocations: 482.7 kB / 1.372 GB, free: 384 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5294, allocations: 4 kB / 1.372 GB, free: 380 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.5294, allocations: 0 / 1.372 GB, free: 380 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5294, allocations: 0 / 1.372 GB, free: 380 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.5294, allocations: 4 kB / 1.372 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.5294, allocations: 4 kB / 1.372 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5294, allocations: 3.938 kB / 1.372 GB, free: 368 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.5295, allocations: 91.62 kB / 1.372 GB, free: 248 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.5296, allocations: 89.02 kB / 1.372 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.5296, allocations: 3.984 kB / 1.372 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.885e-05/0.5297, allocations: 0 / 1.372 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.5297, allocations: 4 kB / 1.372 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.5297, allocations: 0 / 1.372 GB, free: 132 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001004/0.5298, allocations: 129.5 kB / 1.372 GB, free: 4 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5298, allocations: 0 / 1.372 GB, free: 4 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001858/0.53, allocations: 15.91 kB / 1.372 GB, free: 15.98 MB / 0.8855 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 (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.0001232/0.5301, allocations: 99.03 kB / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.161e-05/0.5302, allocations: 19.94 kB / 1.372 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5302, allocations: 0 / 1.372 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.5302, allocations: 4.188 kB / 1.372 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.5303, allocations: 16 kB / 1.372 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.5307, allocations: 178.5 kB / 1.373 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.531, allocations: 0.7014 MB / 1.373 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.531, allocations: 8.422 kB / 1.373 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.531, allocations: 11.44 kB / 1.373 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of SimCode: time 1.433e-06/0.531, allocations: 0 / 1.373 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of Templates: time 0.002329/0.5334, allocations: 421 kB / 1.374 GB, free: 14.47 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches