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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008274/0.008274, allocations: 99.31 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 187.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.562/2.562, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 64.03 kB / 0.9509 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3483, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002122/0.3505, allocations: 0.8799 MB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001425/0.3506, allocations: 47.78 kB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.3507, allocations: 7.938 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/0.3508, allocations: 11.81 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.913e-05/0.3509, allocations: 11.86 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.263e-05/0.3509, allocations: 23.98 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.3511, allocations: 91.75 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.3512, allocations: 48.84 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.3513, allocations: 43.8 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.3514, allocations: 31.78 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.3514, allocations: 8 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.3514, allocations: 8 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.3515, allocations: 23.86 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.3515, allocations: 39.75 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.3517, allocations: 103.5 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3517, allocations: 0 / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3517, allocations: 0 / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3517, allocations: 0 / 1.089 GB, free: 76 kB / 0.8419 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.000495/0.3522, allocations: 395.3 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3522, allocations: 8.031 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.3523, allocations: 16.75 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.3525, allocations: 208.2 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3525, allocations: 4.562 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3525, allocations: 8.375 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3527, allocations: 112.8 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3527, allocations: 7.938 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3528, allocations: 11.98 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3528, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.055e-05/0.3529, allocations: 43.97 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.3534, allocations: 456.4 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/0.3535, allocations: 41.09 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.3535, allocations: 21.84 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.3536, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.3536, allocations: 30.56 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3536, allocations: 3.938 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001755/0.3538, allocations: 61.75 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3538, allocations: 85.05 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.354, allocations: 183.2 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.354, allocations: 25.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.3541, allocations: 104 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.3541, allocations: 11.84 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.3541, allocations: 13.94 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3542, allocations: 330.8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.3543, allocations: 11.94 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.3543, allocations: 25.64 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.3543, allocations: 21.72 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3544, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.026e-05/0.3544, allocations: 65.45 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3545, allocations: 4 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3545, allocations: 4.062 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3545, allocations: 4 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.3546, allocations: 7.984 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3546, allocations: 0 / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.3546, allocations: 7.938 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.3546, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.056e-05/0.3547, allocations: 117.8 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.3547, allocations: 15.81 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.3548, allocations: 12.55 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3548, allocations: 8 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3548, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3548, allocations: 3.938 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.3552, allocations: 478.8 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3552, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/0.3552, allocations: 4 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3552, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3552, allocations: 8 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3552, allocations: 4 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3552, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.628e-05/0.3553, allocations: 81.89 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.3554, allocations: 96.8 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3554, allocations: 3.938 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.3554, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.3555, allocations: 8.016 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.3555, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.826e-05/0.3556, allocations: 136.3 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3556, allocations: 0 / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001826/0.3558, allocations: 8 kB / 1.092 GB, free: 12.44 MB / 0.8575 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001213/0.3559, allocations: 95.25 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.671e-05/0.356, allocations: 23.98 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.356, allocations: 8 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-06/0.356, allocations: 4 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.3562, allocations: 9.719 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.3565, allocations: 181.6 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3568, allocations: 0.7042 MB / 1.093 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.3568, allocations: 8.547 kB / 1.093 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.3568, allocations: 15.38 kB / 1.093 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3568, allocations: 0 / 1.093 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of Templates: time 0.002669/0.3595, allocations: 0.5253 MB / 1.094 GB, free: 10.81 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches