Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007105/0.007105, allocations: 97.36 kB / 15.73 MB, free: 6.043 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.001573/0.001573, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.374/1.374, 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 11.1.0-maint.11.x/package.mo): time 2.848/2.848, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.89 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3624, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002614/0.365, allocations: 0.8801 MB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002475/0.3653, allocations: 59.64 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3654, allocations: 4 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.768e-05/0.3655, allocations: 7.875 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.3656, allocations: 7.875 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.297e-05/0.3657, allocations: 27.97 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.3658, allocations: 83.77 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.366, allocations: 41.08 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.041e-05/0.3661, allocations: 35.8 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.3661, allocations: 39.72 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.3662, allocations: 12 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.3662, allocations: 8 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.3662, allocations: 15.92 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.3662, allocations: 39.75 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.3664, allocations: 103.5 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3664, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3664, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.3664, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 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.0005215/0.3669, allocations: 403.1 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.367, allocations: 16.03 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.367, allocations: 12.84 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.3673, allocations: 200.4 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3673, allocations: 4.562 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3673, allocations: 12.38 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.3676, allocations: 120.5 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3676, allocations: 0 / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3676, allocations: 0 / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3676, allocations: 8 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.739e-05/0.3677, allocations: 39.98 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.3685, allocations: 472.4 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.495e-05/0.3685, allocations: 33.16 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.3686, allocations: 25.84 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.3686, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3686, allocations: 38.48 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.3686, allocations: 0 / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.00024/0.3689, allocations: 61.53 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.369, allocations: 81.36 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.3692, allocations: 186.7 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.3692, allocations: 25.7 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.3693, allocations: 104.1 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.3693, allocations: 15.89 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.3694, allocations: 9.719 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3695, allocations: 326.8 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/0.3695, allocations: 12.16 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.789e-05/0.3696, allocations: 21.72 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.3696, allocations: 33.58 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3696, allocations: 0 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001088/0.3697, allocations: 61.61 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3697, allocations: 4 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3698, allocations: 4 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3698, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.85e-05/0.3699, allocations: 12 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3699, allocations: 3.984 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.063e-05/0.3699, allocations: 11.89 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3699, allocations: 0 / 1.224 GB, free: 9.855 MB / 0.9825 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.0001237/0.37, allocations: 113.8 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.3701, allocations: 11.95 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.3701, allocations: 12.56 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3701, allocations: 0 / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.3701, allocations: 3.984 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.3702, allocations: 7.938 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000515/0.3707, allocations: 474.8 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3707, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.3707, allocations: 7.984 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3707, allocations: 0 / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3707, allocations: 3.938 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3707, allocations: 0 / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3707, allocations: 64 / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.3708, allocations: 89.84 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.3709, allocations: 89.05 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.3709, allocations: 3.938 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.36e-05/0.371, allocations: 4 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.371, allocations: 4 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.371, allocations: 4.031 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001298/0.3711, allocations: 140.3 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3711, allocations: 0 / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002204/0.3713, allocations: 11.95 kB / 1.225 GB, free: 8.781 MB / 0.9825 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.0001779/0.3715, allocations: 96.05 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.3717, allocations: 23.92 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3717, allocations: 0 / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.3717, allocations: 8.125 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.3719, allocations: 13.97 kB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.3724, allocations: 182.5 kB / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3727, allocations: 0.7002 MB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.917e-05/0.3727, allocations: 12.62 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.3727, allocations: 15.38 kB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.3727, allocations: 0 / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of Templates: time 0.003005/0.3757, allocations: 0.516 MB / 1.227 GB, free: 7.156 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches