Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.37/2.37, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001195/0.001195, allocations: 187.8 kB / 0.4902 GB, free: 2.293 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.648/1.648, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.001049/0.001049, allocations: 100.2 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004596, allocations: 10.22 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3357, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.526, allocations: 149.6 MB / 1.375 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.5262, allocations: 63.95 kB / 1.375 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002627/0.5289, allocations: 1.075 MB / 1.376 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5289, allocations: 3.938 kB / 1.376 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.5289, allocations: 4 kB / 1.376 GB, free: 2.75 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.0004264/0.5294, allocations: 372.1 kB / 1.377 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.5294, allocations: 12.03 kB / 1.377 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.5295, allocations: 15.8 kB / 1.377 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.5296, allocations: 174.9 kB / 1.377 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5296, allocations: 4 kB / 1.377 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.5297, allocations: 8 kB / 1.377 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.5298, allocations: 99.38 kB / 1.377 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5299, allocations: 0 / 1.377 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.5299, allocations: 3.984 kB / 1.377 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.5299, allocations: 0 / 1.377 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.454e-05/0.53, allocations: 43.92 kB / 1.377 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.5306, allocations: 452.7 kB / 1.378 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.697e-05/0.5307, allocations: 45.14 kB / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.5307, allocations: 0 / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.5307, allocations: 30.56 kB / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.5307, allocations: 4 kB / 1.378 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001641/0.5309, allocations: 49.61 kB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.5309, allocations: 81.11 kB / 1.378 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.5311, allocations: 153.2 kB / 1.378 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.5311, allocations: 29.7 kB / 1.378 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.5312, allocations: 96.05 kB / 1.378 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.5312, allocations: 11.83 kB / 1.378 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.5312, allocations: 256 / 1.378 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5313, allocations: 322.8 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.5314, allocations: 11.98 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.5314, allocations: 17.72 kB / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.5314, allocations: 9.547 kB / 1.378 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5314, allocations: 0 / 1.378 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.045e-05/0.5315, allocations: 65.53 kB / 1.378 GB, free: 452 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5315, allocations: 8.062 kB / 1.378 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5316, allocations: 0 / 1.378 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.5316, allocations: 4 kB / 1.378 GB, free: 440 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.5317, allocations: 4 kB / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.5317, allocations: 0 / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.49e-05/0.5317, allocations: 11.84 kB / 1.378 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.5317, allocations: 7.984 kB / 1.378 GB, free: 416 kB / 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 8.101e-05/0.5318, allocations: 114.6 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.5319, allocations: 7.906 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.5319, allocations: 23.8 kB / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.5319, allocations: 0 / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.5319, allocations: 0 / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.5319, allocations: 0 / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.5323, allocations: 470.8 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5324, allocations: 0 / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.5324, allocations: 4 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.5324, allocations: 4.047 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.5324, allocations: 8 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5324, allocations: 3.938 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5324, allocations: 0 / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.874e-05/0.5325, allocations: 87.58 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.5326, allocations: 89 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.5326, allocations: 4.031 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.5326, allocations: 0 / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.5327, allocations: 4 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.5327, allocations: 0 / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.856e-05/0.5328, allocations: 123.2 kB / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.5328, allocations: 0 / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001833/0.533, allocations: 11.95 kB / 1.379 GB, free: 15.36 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.0001788/0.5332, allocations: 103.1 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.204e-05/0.5332, allocations: 23.98 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5333, allocations: 0 / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.5333, allocations: 8 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.5334, allocations: 4 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.5337, allocations: 186.7 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.534, allocations: 0.6965 MB / 1.38 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.325e-05/0.5341, allocations: 12.5 kB / 1.38 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.5341, allocations: 11.44 kB / 1.38 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.5341, allocations: 0 / 1.38 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of Templates: time 0.002178/0.5363, allocations: 419.8 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches