Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002122/0.002122, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.789/2.789, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 69.05 kB / 0.8986 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3686, allocations: 157.4 MB / 1.052 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002275/0.3709, allocations: 0.9347 MB / 1.053 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001177/0.3711, allocations: 51.72 kB / 1.053 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.3711, allocations: 8 kB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.495e-05/0.3712, allocations: 7.922 kB / 1.053 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.3e-05/0.3713, allocations: 3.938 kB / 1.053 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.203e-05/0.3714, allocations: 20 kB / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.3715, allocations: 87.67 kB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.3716, allocations: 53.08 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.495e-05/0.3717, allocations: 31.8 kB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.3718, allocations: 43.72 kB / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.3718, allocations: 8 kB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.3718, allocations: 8 kB / 1.053 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.3718, allocations: 11.94 kB / 1.054 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.3719, allocations: 43.73 kB / 1.054 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.372, allocations: 103.8 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.372, allocations: 0 / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/0.372, allocations: 4 kB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.372, allocations: 0 / 1.054 GB, free: 7.367 MB / 0.8106 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.0005223/0.3726, allocations: 395.3 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3726, allocations: 8.625 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.3726, allocations: 12.84 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3729, allocations: 204.2 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3729, allocations: 4.562 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.3729, allocations: 8.375 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3731, allocations: 111.5 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.3731, allocations: 0 / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3731, allocations: 7.984 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3731, allocations: 0 / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.3732, allocations: 47.92 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.3738, allocations: 476.4 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.306e-05/0.3739, allocations: 41.08 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.3739, allocations: 21.84 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.374, allocations: 0 / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.374, allocations: 34.56 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.374, allocations: 0 / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001554/0.3741, allocations: 57.45 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.3742, allocations: 81.09 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.3744, allocations: 178.7 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.3744, allocations: 29.64 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.3745, allocations: 104 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.428e-06/0.3745, allocations: 7.891 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.3745, allocations: 21.97 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3747, allocations: 326.8 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.3747, allocations: 8 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.3747, allocations: 17.66 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.3748, allocations: 25.72 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3748, allocations: 0 / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.993e-05/0.3749, allocations: 65.53 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.3749, allocations: 4 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.3749, allocations: 7.984 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3749, allocations: 4 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.403e-05/0.375, allocations: 4 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.375, allocations: 0 / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.375, allocations: 19.78 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.375, allocations: 0 / 1.056 GB, free: 4.816 MB / 0.8106 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 7.314e-05/0.3751, allocations: 123.4 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.3751, allocations: 15.81 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.3752, allocations: 8.562 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3752, allocations: 4 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3752, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3752, allocations: 3.938 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.3756, allocations: 474.8 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3756, allocations: 4.062 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.3756, allocations: 4 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3756, allocations: 112 / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3756, allocations: 7.875 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3756, allocations: 3.938 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3756, allocations: 3.984 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.354e-05/0.3757, allocations: 77.91 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.3758, allocations: 96.91 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3758, allocations: 3.938 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.134e-05/0.3758, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-06/0.3758, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3758, allocations: 4 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.988e-05/0.3759, allocations: 140.8 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.376, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001955/0.3762, allocations: 15.94 kB / 1.057 GB, free: 3.738 MB / 0.8106 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 9.654e-05/0.3763, allocations: 103.2 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.882e-05/0.3763, allocations: 16 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3763, allocations: 0 / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.3764, allocations: 15.86 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.3765, allocations: 8 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.3769, allocations: 211 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.3772, allocations: 0.6963 MB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.3772, allocations: 12.55 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.3773, allocations: 15.44 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3773, allocations: 0 / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of Templates: time 0.002533/0.3798, allocations: 0.5122 MB / 1.058 GB, free: 2.09 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches