Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_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.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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 249.5 MB / 257 MB, free: 6.988 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.001005/0.001005, allocations: 179.7 kB / 316.3 MB, free: 3.234 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.672/1.672, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.001087/0.001087, allocations: 110.2 kB / 0.6715 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.419e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2374, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7841/1.022, allocations: 131.6 MB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/1.022, allocations: 71.7 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00275/1.025, allocations: 1.224 MB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/1.025, allocations: 0 / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.26e-05/1.025, allocations: 4 kB / 1.015 GB, free: 5.012 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.0003327/1.025, allocations: 369.9 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.025, allocations: 8.031 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/1.025, allocations: 11.81 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/1.025, allocations: 181.2 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/1.025, allocations: 4 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/1.025, allocations: 4 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001098/1.026, allocations: 42.84 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/1.026, allocations: 80.58 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.026, allocations: 0 / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/1.026, allocations: 4 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.026, allocations: 4 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/1.026, allocations: 428 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.857e-05/1.026, allocations: 43.66 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/1.026, allocations: 13.84 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/1.026, allocations: 0 / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/1.026, allocations: 38.44 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/1.026, allocations: 4 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001611/1.027, allocations: 41.55 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/1.027, allocations: 85.05 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/1.027, allocations: 135.3 kB / 1.016 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/1.027, allocations: 25.7 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/1.027, allocations: 119.4 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/1.027, allocations: 3.906 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/1.027, allocations: 4.062 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.027, allocations: 318.8 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/1.027, allocations: 7.812 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-05/1.027, allocations: 23.88 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.592e-05/1.027, allocations: 11.81 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.027, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.142e-05/1.027, allocations: 61.42 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.027, allocations: 8.062 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.027, allocations: 0 / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/1.027, allocations: 0 / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/1.027, allocations: 11.25 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/1.027, allocations: 0 / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/1.027, allocations: 0 / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/1.027, allocations: 8.156 kB / 1.017 GB, free: 2.844 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.54e-05/1.027, allocations: 101 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/1.027, allocations: 15.89 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/1.028, allocations: 27.77 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/1.028, allocations: 0 / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.028, allocations: 0 / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.028, allocations: 0 / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/1.028, allocations: 458.6 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.028, allocations: 0 / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/1.028, allocations: 4.875 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.028, allocations: 4.062 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/1.028, allocations: 3.984 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.028, allocations: 0 / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.028, allocations: 0 / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.71e-05/1.028, allocations: 91.14 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/1.028, allocations: 85.03 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/1.028, allocations: 11.22 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/1.028, allocations: 0 / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/1.028, allocations: 3.938 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/1.028, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.462e-05/1.028, allocations: 113.5 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/1.028, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001677/1.028, allocations: 11.91 kB / 1.018 GB, free: 1.875 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 0.0001106/1.029, allocations: 99.25 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.67e-05/1.029, allocations: 19.62 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.029, allocations: 7.938 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/1.029, allocations: 7.938 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/1.029, allocations: 11.75 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/1.029, allocations: 104.4 kB / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/1.029, allocations: 0.7082 MB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.151e-05/1.029, allocations: 11.92 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/1.029, allocations: 11.44 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.029, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of Templates: time 0.002136/1.032, allocations: 332.7 kB / 1.019 GB, free: 0.543 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches