Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.477/2.477, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001654/0.001654, allocations: 190.7 kB / 0.4902 GB, free: 2.254 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.816/1.816, allocations: 223.2 MB / 0.7992 GB, free: 14.59 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.0009312/0.0009312, allocations: 98.89 kB / 0.9396 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 10.78 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.305, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1946/0.4996, allocations: 149.7 MB / 1.375 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4999, allocations: 59.97 kB / 1.375 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002935/0.5029, allocations: 1.299 MB / 1.377 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5029, allocations: 0 / 1.377 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.5029, allocations: 0 / 1.377 GB, free: 2.461 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.0003902/0.5033, allocations: 383.2 kB / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.5034, allocations: 12.03 kB / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.5034, allocations: 11.81 kB / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.5036, allocations: 190.7 kB / 1.377 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.5036, allocations: 12.19 kB / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.5036, allocations: 4 kB / 1.377 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.5038, allocations: 103.5 kB / 1.377 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5039, allocations: 0 / 1.377 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.5039, allocations: 11.98 kB / 1.377 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5039, allocations: 4 kB / 1.377 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.388e-05/0.504, allocations: 47.92 kB / 1.377 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006468/0.5046, allocations: 488.8 kB / 1.378 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.501e-05/0.5047, allocations: 45.27 kB / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.5047, allocations: 8 kB / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.5048, allocations: 34.56 kB / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.5048, allocations: 0 / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.505, allocations: 73.53 kB / 1.378 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.5051, allocations: 77.11 kB / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.5052, allocations: 157.3 kB / 1.378 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.5052, allocations: 25.7 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.5053, allocations: 112.1 kB / 1.378 GB, free: 484 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.5053, allocations: 11.91 kB / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.5054, allocations: 3.938 kB / 1.378 GB, free: 468 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5055, allocations: 326.8 kB / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.403e-05/0.5055, allocations: 11.94 kB / 1.379 GB, free: 120 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.5055, allocations: 29.7 kB / 1.379 GB, free: 84 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.105e-05/0.5056, allocations: 12 kB / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5056, allocations: 0 / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001101/0.5057, allocations: 77.48 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.5057, allocations: 10.34 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5057, allocations: 0 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5058, allocations: 96 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.5058, allocations: 11.94 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.5058, allocations: 4 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.5059, allocations: 7.922 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.5059, allocations: 8 kB / 1.379 GB, free: 15.95 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.594e-05/0.506, allocations: 119.3 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.506, allocations: 11.81 kB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.5061, allocations: 16.56 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5061, allocations: 0 / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5061, allocations: 3.984 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5061, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.5065, allocations: 0.5059 MB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.5066, allocations: 8.125 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.5066, allocations: 7.984 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5066, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.5066, allocations: 4 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5066, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5066, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.5068, allocations: 152.6 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.5068, allocations: 92.91 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.5069, allocations: 3.953 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.701e-05/0.5069, allocations: 128 / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.5069, allocations: 12 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.5069, allocations: 0 / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.462e-05/0.507, allocations: 136.9 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/0.507, allocations: 0 / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001794/0.5072, allocations: 12 kB / 1.38 GB, free: 14.73 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.0001399/0.5074, allocations: 99.19 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.114e-05/0.5075, allocations: 24 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5075, allocations: 0 / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.422e-05/0.5075, allocations: 24.05 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.5076, allocations: 8 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.5081, allocations: 242.2 kB / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.5083, allocations: 0.7004 MB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.5084, allocations: 12.55 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.5084, allocations: 11.44 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.5084, allocations: 4 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of Templates: time 0.002326/0.5107, allocations: 467.8 kB / 1.381 GB, free: 13.09 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches