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.244/2.244, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001304/0.001304, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.3 MB / 0.7915 GB, free: 5.441 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.0009337/0.0009338, allocations: 95.89 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.9e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3409, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.492, allocations: 149.6 MB / 1.365 GB, free: 4.414 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.492, allocations: 61.59 kB / 1.365 GB, free: 4.383 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002986/1.495, allocations: 1.289 MB / 1.366 GB, free: 3.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.305e-06/1.495, allocations: 0 / 1.366 GB, free: 3.25 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.495, allocations: 4 kB / 1.366 GB, free: 3.246 MB / 0.823 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.0003713/1.495, allocations: 368.1 kB / 1.367 GB, free: 2.848 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/1.495, allocations: 12.03 kB / 1.367 GB, free: 2.836 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/1.495, allocations: 11.81 kB / 1.367 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/1.496, allocations: 182.9 kB / 1.367 GB, free: 2.605 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/1.496, allocations: 7.812 kB / 1.367 GB, free: 2.602 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/1.496, allocations: 11.88 kB / 1.367 GB, free: 2.594 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/1.496, allocations: 100.6 kB / 1.367 GB, free: 2.508 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.496, allocations: 5.953 kB / 1.367 GB, free: 2.504 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/1.496, allocations: 6.75 kB / 1.367 GB, free: 2.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/1.496, allocations: 7.984 kB / 1.367 GB, free: 2.492 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.545e-05/1.496, allocations: 41.75 kB / 1.367 GB, free: 2.465 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/1.497, allocations: 484 kB / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/1.497, allocations: 51.28 kB / 1.367 GB, free: 1.922 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/1.497, allocations: 31.59 kB / 1.367 GB, free: 1.895 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/1.497, allocations: 8 kB / 1.367 GB, free: 1.887 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/1.497, allocations: 30.56 kB / 1.367 GB, free: 1.848 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/1.497, allocations: 0 / 1.367 GB, free: 1.848 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001887/1.497, allocations: 64.06 kB / 1.368 GB, free: 1.785 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/1.497, allocations: 81.11 kB / 1.368 GB, free: 1.688 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/1.497, allocations: 154.5 kB / 1.368 GB, free: 1.543 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/1.497, allocations: 29.77 kB / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.323e-05/1.497, allocations: 109.9 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/1.497, allocations: 14.42 kB / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/1.497, allocations: 4 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.498, allocations: 320.6 kB / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/1.498, allocations: 15.38 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/1.498, allocations: 28.2 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/1.498, allocations: 10.94 kB / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.498, allocations: 4 kB / 1.368 GB, free: 1.023 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000108/1.498, allocations: 73.41 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.498, allocations: 4 kB / 1.368 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.498, allocations: 0 / 1.368 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.498, allocations: 128 / 1.368 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/1.498, allocations: 15.98 kB / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.498, allocations: 4 kB / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.504e-05/1.498, allocations: 7.844 kB / 1.368 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/1.498, allocations: 4 kB / 1.368 GB, free: 0.9219 MB / 0.823 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 8.712e-05/1.498, allocations: 115.6 kB / 1.369 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/1.498, allocations: 7.906 kB / 1.369 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/1.498, allocations: 15.48 kB / 1.369 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.498, allocations: 0 / 1.369 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.498, allocations: 4 kB / 1.369 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.498, allocations: 0 / 1.369 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/1.499, allocations: 0.5157 MB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.499, allocations: 0 / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/1.499, allocations: 11.94 kB / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.499, allocations: 0 / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/1.499, allocations: 0 / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.499, allocations: 4 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.499, allocations: 0 / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/1.499, allocations: 142.5 kB / 1.369 GB, free: 40 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/1.499, allocations: 99.8 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/1.499, allocations: 4.141 kB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.524e-05/1.499, allocations: 0 / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/1.499, allocations: 15.17 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/1.499, allocations: 3.984 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001146/1.499, allocations: 125 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.5, allocations: 3.938 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001761/1.5, allocations: 15 kB / 1.369 GB, free: 15.78 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.0001991/1.5, allocations: 96.89 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000138/1.5, allocations: 31.62 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.5, allocations: 4 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.291e-05/1.5, allocations: 15.44 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/1.5, allocations: 7.812 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/1.501, allocations: 138.4 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/1.501, allocations: 0.7085 MB / 1.37 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.372e-05/1.501, allocations: 12.48 kB / 1.37 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/1.501, allocations: 11.44 kB / 1.37 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/1.501, allocations: 0 / 1.37 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of Templates: time 0.003307/1.505, allocations: 487.5 kB / 1.371 GB, free: 14.27 MB / 0.8386 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