Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001231/0.001231, allocations: 113.5 kB / 16.42 MB, free: 6.504 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.001263/0.001264, allocations: 185.5 kB / 17.35 MB, free: 5.758 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.45/1.45, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.656/2.656, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.062, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002815/1.065, allocations: 0.8833 MB / 1.227 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002296/1.065, allocations: 43.78 kB / 1.227 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.436e-05/1.065, allocations: 4 kB / 1.227 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.835e-05/1.065, allocations: 15.81 kB / 1.227 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/1.065, allocations: 19.84 kB / 1.227 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.59e-05/1.065, allocations: 19.98 kB / 1.227 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/1.066, allocations: 87.77 kB / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/1.066, allocations: 49.05 kB / 1.227 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.434e-05/1.066, allocations: 27.86 kB / 1.227 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/1.066, allocations: 35.78 kB / 1.228 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/1.066, allocations: 8 kB / 1.228 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/1.066, allocations: 8 kB / 1.228 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/1.066, allocations: 19.92 kB / 1.228 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/1.066, allocations: 43.73 kB / 1.228 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/1.066, allocations: 104 kB / 1.228 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.066, allocations: 4 kB / 1.228 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.705e-06/1.066, allocations: 0 / 1.228 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.075e-06/1.066, allocations: 0 / 1.228 GB, free: 12.12 MB / 0.9512 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.0005903/1.067, allocations: 403.2 kB / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/1.067, allocations: 8.031 kB / 1.228 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/1.067, allocations: 16.84 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/1.067, allocations: 201.3 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/1.067, allocations: 8.562 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/1.067, allocations: 12.31 kB / 1.228 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/1.068, allocations: 107.5 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/1.068, allocations: 0 / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/1.068, allocations: 8 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.068, allocations: 0 / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/1.068, allocations: 47.86 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007499/1.069, allocations: 472.4 kB / 1.229 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/1.069, allocations: 41.09 kB / 1.229 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/1.069, allocations: 21.84 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/1.069, allocations: 0 / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/1.069, allocations: 30.56 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.069, allocations: 4 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000202/1.069, allocations: 61.53 kB / 1.229 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/1.069, allocations: 77.11 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/1.069, allocations: 186.7 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/1.069, allocations: 25.7 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/1.069, allocations: 112.2 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/1.069, allocations: 11.88 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/1.069, allocations: 25.91 kB / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.07, allocations: 326.8 kB / 1.23 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/1.07, allocations: 4 kB / 1.23 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/1.07, allocations: 21.66 kB / 1.23 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.841e-05/1.07, allocations: 29.7 kB / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.07, allocations: 0 / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/1.07, allocations: 65.55 kB / 1.23 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.07, allocations: 4 kB / 1.23 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.07, allocations: 0 / 1.23 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.07, allocations: 4 kB / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/1.07, allocations: 7.984 kB / 1.23 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.07, allocations: 0 / 1.23 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/1.07, allocations: 7.953 kB / 1.23 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/1.07, allocations: 3.938 kB / 1.23 GB, free: 9.551 MB / 0.9512 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.0001128/1.07, allocations: 117.9 kB / 1.23 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/1.07, allocations: 11.95 kB / 1.23 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/1.07, allocations: 12.55 kB / 1.23 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.07, allocations: 4.094 kB / 1.23 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.07, allocations: 0 / 1.23 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/1.07, allocations: 97 kB / 1.23 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/1.07, allocations: 7.922 kB / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/1.07, allocations: 0 / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/1.07, allocations: 3.938 kB / 1.23 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001342/1.071, allocations: 196.3 kB / 1.23 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001841/1.071, allocations: 305.9 kB / 1.231 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.484e-05/1.071, allocations: 4 kB / 1.231 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001046/1.071, allocations: 136.3 kB / 1.231 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of Backend: time 4.01e-07/1.071, allocations: 4.094 kB / 1.231 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004917/1.071, allocations: 92.06 kB / 1.231 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000582/1.072, allocations: 0.6314 MB / 1.232 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of Templates: time 0.003142/1.075, allocations: 0.5757 MB / 1.232 GB, free: 7.262 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches