Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.48/2.48, allocations: 393.5 MB / 408.4 MB, free: 10.91 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.001136/0.001136, allocations: 180 kB / 0.4902 GB, free: 2.199 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.483/1.483, allocations: 223.1 MB / 0.7992 GB, free: 14.67 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.0008764/0.0008764, allocations: 88.33 kB / 0.9396 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003912, allocations: 11.06 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2851, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.4732, allocations: 149.7 MB / 1.375 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.4734, allocations: 59.97 kB / 1.375 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002914/0.4763, allocations: 1.288 MB / 1.377 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.207e-06/0.4764, allocations: 0 / 1.377 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.4764, allocations: 7.938 kB / 1.377 GB, free: 2.402 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003582/0.4767, allocations: 379.2 kB / 1.377 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4768, allocations: 8.031 kB / 1.377 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.4768, allocations: 23.78 kB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.477, allocations: 186.7 kB / 1.377 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.477, allocations: 8.188 kB / 1.377 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.477, allocations: 8 kB / 1.377 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.4772, allocations: 101.8 kB / 1.377 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4772, allocations: 4 kB / 1.377 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4773, allocations: 8 kB / 1.377 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.4773, allocations: 0 / 1.377 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.5e-05/0.4774, allocations: 51.92 kB / 1.377 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.478, allocations: 476.4 kB / 1.378 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.838e-05/0.4781, allocations: 57.14 kB / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.4781, allocations: 0 / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.4781, allocations: 34.56 kB / 1.378 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.4781, allocations: 4.156 kB / 1.378 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002313/0.4784, allocations: 69.61 kB / 1.378 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.4784, allocations: 85.03 kB / 1.378 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.4786, allocations: 153.3 kB / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.4786, allocations: 29.7 kB / 1.378 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.4787, allocations: 111.9 kB / 1.378 GB, free: 424 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.4787, allocations: 16.12 kB / 1.378 GB, free: 408 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-06/0.4787, allocations: 0 / 1.378 GB, free: 408 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4789, allocations: 322.8 kB / 1.379 GB, free: 76 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.4789, allocations: 11.98 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.479, allocations: 29.66 kB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/0.479, allocations: 12 kB / 1.379 GB, free: 16 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.479, allocations: 0 / 1.379 GB, free: 16 kB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001178/0.4791, allocations: 73.58 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.4791, allocations: 7.984 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4792, allocations: 4 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4792, allocations: 4 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.4793, allocations: 11.94 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4793, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.4793, allocations: 7.938 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.4793, allocations: 0 / 1.379 GB, free: 15.9 MB / 0.8855 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 (6): * Single equations (assignments): 6 * 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.844e-05/0.4794, allocations: 118.6 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.4795, allocations: 15.81 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.4795, allocations: 20.55 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4795, allocations: 4.078 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4795, allocations: 4 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4795, allocations: 0 / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.48, allocations: 0.5059 MB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.48, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.48, allocations: 12.25 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.48, allocations: 4 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.48, allocations: 4 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4801, allocations: 4 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4801, allocations: 0 / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.4802, allocations: 140.7 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.4803, allocations: 96.91 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.4803, allocations: 7.953 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.946e-05/0.4803, allocations: 0 / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.4804, allocations: 7.922 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.4804, allocations: 4 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001007/0.4805, allocations: 132.9 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4805, allocations: 0 / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001803/0.4807, allocations: 15.94 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0001353/0.4808, allocations: 95.25 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.853e-05/0.4809, allocations: 35.92 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4809, allocations: 0 / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/0.481, allocations: 16.12 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.4811, allocations: 13.94 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.4815, allocations: 238.1 kB / 1.38 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.4818, allocations: 0.7043 MB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.4818, allocations: 4.562 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.4819, allocations: 11.44 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.91e-07/0.4819, allocations: 0 / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.002316/0.4842, allocations: 483.9 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches