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.001837/0.001844, allocations: 110.9 kB / 16.42 MB, free: 6.492 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.002249/0.002249, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.268/2.268, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.91 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.029, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002423/1.032, allocations: 0.8683 MB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001457/1.032, allocations: 59.3 kB / 1.09 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/1.032, allocations: 1.594 kB / 1.09 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.077e-05/1.032, allocations: 10.27 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.435e-05/1.032, allocations: 13.67 kB / 1.09 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.069e-05/1.032, allocations: 26.73 kB / 1.09 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/1.032, allocations: 79.34 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/1.033, allocations: 59.23 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/1.033, allocations: 28.61 kB / 1.09 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/1.033, allocations: 41.14 kB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/1.033, allocations: 7.406 kB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/1.033, allocations: 12.28 kB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/1.033, allocations: 17.78 kB / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/1.033, allocations: 46.66 kB / 1.09 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/1.033, allocations: 102.2 kB / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.033, allocations: 1.75 kB / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.234e-06/1.033, allocations: 0 / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.033, allocations: 0 / 1.09 GB, free: 4.668 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.0006011/1.034, allocations: 397.5 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/1.034, allocations: 10 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/1.034, allocations: 17.62 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/1.034, allocations: 200.2 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/1.034, allocations: 8.969 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/1.034, allocations: 9.344 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/1.034, allocations: 108.6 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.034, allocations: 0 / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/1.034, allocations: 5.672 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/1.034, allocations: 2.125 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/1.035, allocations: 44.64 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/1.035, allocations: 465.8 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.457e-05/1.035, allocations: 38.55 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/1.035, allocations: 24.02 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/1.035, allocations: 5.062 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/1.036, allocations: 36.17 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/1.036, allocations: 0 / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002269/1.036, allocations: 57.89 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/1.036, allocations: 78.59 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/1.036, allocations: 188.9 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/1.036, allocations: 26.27 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/1.036, allocations: 117 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/1.036, allocations: 6.297 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/1.036, allocations: 17.48 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.036, allocations: 325.9 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/1.036, allocations: 3.828 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/1.036, allocations: 20.08 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/1.037, allocations: 35.11 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.037, allocations: 0 / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/1.037, allocations: 66.36 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.037, allocations: 5.562 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.037, allocations: 1.094 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/1.037, allocations: 0.7969 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/1.037, allocations: 10.05 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.037, allocations: 5.25 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/1.037, allocations: 7.453 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/1.037, allocations: 5.094 kB / 1.092 GB, free: 2.527 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 9.499e-05/1.037, allocations: 114.7 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/1.037, allocations: 13 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/1.037, allocations: 13.98 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/1.037, allocations: 1.062 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.037, allocations: 1.75 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/1.037, allocations: 94.8 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/1.037, allocations: 5.75 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/1.037, allocations: 1.188 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/1.037, allocations: 1.547 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001198/1.037, allocations: 196.2 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001885/1.038, allocations: 301.9 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.906e-05/1.038, allocations: 7.25 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001436/1.038, allocations: 135 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of Backend: time 4.01e-07/1.038, allocations: 3.938 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005093/1.038, allocations: 91.41 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005635/1.039, allocations: 0.6262 MB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of Templates: time 0.003509/1.042, allocations: 0.5887 MB / 1.094 GB, free: 0.9219 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/jenkins1/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