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.007012/0.007012, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001336/0.001337, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.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.277/2.277, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 63.89 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177/1.179, allocations: 140.4 MB / 1.088 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002009/1.181, allocations: 0.8865 MB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001448/1.181, allocations: 55.48 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/1.181, allocations: 2.156 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.432e-05/1.181, allocations: 9.797 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/1.181, allocations: 14.36 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/1.182, allocations: 22.56 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/1.182, allocations: 79.66 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/1.182, allocations: 58.47 kB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.037e-05/1.182, allocations: 28.95 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/1.182, allocations: 40.47 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/1.182, allocations: 8.344 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.6e-05/1.182, allocations: 12.09 kB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/1.182, allocations: 21.09 kB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/1.182, allocations: 38.58 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/1.182, allocations: 101.6 kB / 1.089 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.182, allocations: 0 / 1.089 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.665e-06/1.182, allocations: 2.172 kB / 1.089 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.182, allocations: 0 / 1.089 GB, free: 4.898 MB / 0.8575 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.0004485/1.183, allocations: 406.7 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.183, allocations: 9.672 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/1.183, allocations: 18.7 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/1.183, allocations: 197.6 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/1.183, allocations: 8.781 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/1.183, allocations: 10.66 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/1.183, allocations: 104.9 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.183, allocations: 1.094 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/1.183, allocations: 5.625 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/1.183, allocations: 2.188 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/1.184, allocations: 44.56 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/1.184, allocations: 474.6 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.808e-05/1.184, allocations: 36.69 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/1.184, allocations: 25.59 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/1.184, allocations: 0 / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/1.184, allocations: 40.17 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/1.184, allocations: 1.062 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000218/1.185, allocations: 57.42 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/1.185, allocations: 77.91 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/1.185, allocations: 189.6 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.185, allocations: 26.7 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/1.185, allocations: 113 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/1.185, allocations: 1.969 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/1.185, allocations: 21.7 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.368e-05/1.185, allocations: 325.4 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/1.185, allocations: 3.359 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/1.185, allocations: 20.8 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.64e-05/1.185, allocations: 30.72 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.185, allocations: 0 / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.69e-05/1.186, allocations: 59.16 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/1.186, allocations: 5.188 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/1.186, allocations: 4.891 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.186, allocations: 1.781 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.583e-05/1.186, allocations: 10.19 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.186, allocations: 4.062 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/1.186, allocations: 15.77 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/1.186, allocations: 1.312 kB / 1.092 GB, free: 2.746 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 0.0001042/1.186, allocations: 114.6 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/1.186, allocations: 8.953 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/1.186, allocations: 14.56 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/1.186, allocations: 1.219 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.186, allocations: 1.281 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/1.186, allocations: 4.547 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/1.186, allocations: 480.3 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.186, allocations: 0 / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/1.186, allocations: 4.234 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/1.186, allocations: 5.312 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/1.187, allocations: 8.047 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/1.187, allocations: 5.828 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.187, allocations: 1.219 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.115e-05/1.187, allocations: 81.55 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/1.187, allocations: 92.3 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/1.187, allocations: 9.062 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.356e-05/1.187, allocations: 0.6562 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/1.187, allocations: 2.984 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/1.187, allocations: 0 / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001536/1.187, allocations: 137.6 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.187, allocations: 3.938 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002397/1.187, allocations: 9.516 kB / 1.092 GB, free: 1.82 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.0002234/1.187, allocations: 101 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001764/1.188, allocations: 19.44 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.188, allocations: 0.875 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.775e-05/1.188, allocations: 12.92 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/1.188, allocations: 10.22 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/1.188, allocations: 174 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/1.189, allocations: 0.6982 MB / 1.093 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.774e-05/1.189, allocations: 12.38 kB / 1.093 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/1.189, allocations: 16.06 kB / 1.093 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of SimCode: time 9.62e-07/1.189, allocations: 0 / 1.093 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of Templates: time 0.003653/1.192, allocations: 0.5046 MB / 1.094 GB, free: 0.7695 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