Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 172.8 kB / 316.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008707/0.0008707, allocations: 93.48 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.367e-05/1.369e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1802, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5962/0.7764, allocations: 131.6 MB / 1.014 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.7767, allocations: 71.14 kB / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002624/0.7793, allocations: 1.223 MB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7793, allocations: 0 / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.7793, allocations: 3.625 kB / 1.015 GB, free: 5.137 MB / 0.6355 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.0002948/0.7796, allocations: 362.2 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.7797, allocations: 8.031 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.7797, allocations: 19.8 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.7799, allocations: 190.6 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.7799, allocations: 0 / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.7799, allocations: 8 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.97e-05/0.78, allocations: 35.34 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.7801, allocations: 82.52 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.7801, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.7802, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.7802, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.7806, allocations: 428 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.092e-05/0.7807, allocations: 41.09 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.7807, allocations: 16.52 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.7807, allocations: 3.5 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.7808, allocations: 34.59 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.7808, allocations: 0.75 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001392/0.7809, allocations: 49.53 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.781, allocations: 81.17 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.7811, allocations: 127.5 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.7811, allocations: 29.7 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.7812, allocations: 114.7 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-06/0.7812, allocations: 3.906 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.7812, allocations: 0 / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.7813, allocations: 330.6 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.7813, allocations: 7.562 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.7814, allocations: 24.06 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.486e-05/0.7814, allocations: 11.81 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7814, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.775e-05/0.7815, allocations: 61.36 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.7815, allocations: 8 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.7815, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.7815, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.7816, allocations: 7.938 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.7816, allocations: 8.062 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.7816, allocations: 0 / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.7817, allocations: 0 / 1.017 GB, free: 2.969 MB / 0.6355 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 6.21e-05/0.7817, allocations: 105 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/0.7818, allocations: 12.06 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.7818, allocations: 15.86 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.7818, allocations: 3.938 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7818, allocations: 6.625 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7818, allocations: 0 / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.7822, allocations: 458.3 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7822, allocations: 0 / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.7822, allocations: 7.984 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7822, allocations: 0 / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.7822, allocations: 4 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7822, allocations: 0 / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7822, allocations: 0 / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.913e-05/0.7823, allocations: 95.45 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.7824, allocations: 89.12 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.7824, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.7824, allocations: 3.984 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.7824, allocations: 4 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.7824, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.7825, allocations: 118.2 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7825, allocations: 0 / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001737/0.7827, allocations: 11.91 kB / 1.018 GB, free: 1.996 MB / 0.6355 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 9.353e-05/0.7828, allocations: 99.06 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.063e-05/0.7829, allocations: 19.67 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7829, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.7829, allocations: 7.938 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.783, allocations: 16.86 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.7832, allocations: 116 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.7835, allocations: 0.7002 MB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.7835, allocations: 3.984 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.7835, allocations: 15.44 kB / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.7835, allocations: 3.938 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of Templates: time 0.001909/0.7854, allocations: 343.5 kB / 1.019 GB, free: 0.6562 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches