Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.0009922/0.0009925, allocations: 184.6 kB / 487.4 MB, free: 5.031 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.468/1.468, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008606/0.0008607, allocations: 101.4 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.734e-05, allocations: 11.98 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3163, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.408, allocations: 148.1 MB / 1.351 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.408, allocations: 60.48 kB / 1.351 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00387/1.412, allocations: 1.292 MB / 1.352 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/1.412, allocations: 0 / 1.352 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.938e-06/1.412, allocations: 0 / 1.352 GB, free: 34.08 MB / 0.8386 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.0003545/1.413, allocations: 371.9 kB / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.413, allocations: 9.594 kB / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/1.413, allocations: 13.61 kB / 1.352 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/1.413, allocations: 184.3 kB / 1.352 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.413, allocations: 2.5 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/1.413, allocations: 5.219 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001236/1.413, allocations: 41.75 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/1.413, allocations: 88.86 kB / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.413, allocations: 0 / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.413, allocations: 5.344 kB / 1.353 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/1.413, allocations: 1.938 kB / 1.353 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/1.414, allocations: 451.4 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.621e-05/1.414, allocations: 47.16 kB / 1.353 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/1.414, allocations: 28.52 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/1.414, allocations: 5.312 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/1.414, allocations: 36.3 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/1.414, allocations: 0 / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001739/1.414, allocations: 54.53 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/1.414, allocations: 81.41 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/1.415, allocations: 121.8 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/1.415, allocations: 25.7 kB / 1.353 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/1.415, allocations: 119.2 kB / 1.354 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/1.415, allocations: 11.89 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/1.415, allocations: 1.422 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.415, allocations: 319.4 kB / 1.354 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/1.415, allocations: 10.94 kB / 1.354 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/1.415, allocations: 22.55 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/1.415, allocations: 17.25 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.415, allocations: 0 / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.365e-05/1.415, allocations: 72.16 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.415, allocations: 3.969 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.415, allocations: 0 / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.415, allocations: 4.625 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/1.415, allocations: 12.28 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.415, allocations: 0.7031 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/1.415, allocations: 0 / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/1.415, allocations: 4.25 kB / 1.354 GB, free: 32.24 MB / 0.8386 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 (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 7.491e-05/1.415, allocations: 105.7 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/1.415, allocations: 15.73 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/1.415, allocations: 12.47 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/1.415, allocations: 3.938 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.415, allocations: 0.6562 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.415, allocations: 0 / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/1.416, allocations: 492.8 kB / 1.355 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.416, allocations: 0.6562 kB / 1.355 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/1.416, allocations: 12.25 kB / 1.355 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.416, allocations: 0.5625 kB / 1.355 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/1.416, allocations: 2.75 kB / 1.355 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.416, allocations: 4.578 kB / 1.355 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.416, allocations: 0 / 1.355 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/1.416, allocations: 135.1 kB / 1.355 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/1.416, allocations: 90.64 kB / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/1.416, allocations: 0.75 kB / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/1.416, allocations: 3.938 kB / 1.355 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/1.416, allocations: 13.33 kB / 1.355 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/1.416, allocations: 3.875 kB / 1.355 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.951e-05/1.416, allocations: 103 kB / 1.355 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.416, allocations: 0 / 1.355 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001887/1.416, allocations: 15.53 kB / 1.355 GB, free: 31.31 MB / 0.8386 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 () * 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.0001248/1.417, allocations: 95.45 kB / 1.355 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.621e-05/1.417, allocations: 33.75 kB / 1.355 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.417, allocations: 0 / 1.355 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.626e-05/1.417, allocations: 15.72 kB / 1.355 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/1.417, allocations: 1.781 kB / 1.355 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/1.417, allocations: 129.6 kB / 1.355 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/1.417, allocations: 0.71 MB / 1.356 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.373e-05/1.417, allocations: 13.78 kB / 1.356 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/1.417, allocations: 11.28 kB / 1.356 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.418, allocations: 0 / 1.356 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.002228/1.42, allocations: 356.1 kB / 1.356 GB, free: 30.34 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches