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.001943/0.001951, 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.002164/0.002164, 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.578/2.578, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.97/0.9714, allocations: 157.4 MB / 1.208 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002141/0.9736, allocations: 0.8737 MB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000152/0.9738, allocations: 47.78 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.005e-05/0.9739, allocations: 4 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.042e-05/0.974, allocations: 19.8 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.393e-05/0.974, allocations: 7.875 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.676e-05/0.9741, allocations: 27.97 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.9743, allocations: 79.77 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.9744, allocations: 49.09 kB / 1.21 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.395e-05/0.9745, allocations: 39.8 kB / 1.21 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.9746, allocations: 35.77 kB / 1.21 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.9746, allocations: 8 kB / 1.21 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.9746, allocations: 8 kB / 1.21 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.9747, allocations: 15.94 kB / 1.21 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.9747, allocations: 43.73 kB / 1.21 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.9749, allocations: 109.4 kB / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.9749, allocations: 0 / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9749, allocations: 0 / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.9749, allocations: 3.938 kB / 1.21 GB, free: 12.47 MB / 0.9356 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.0004748/0.9754, allocations: 399.3 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.9754, allocations: 8.031 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.9755, allocations: 20.75 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.9757, allocations: 210.2 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.9758, allocations: 4.562 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.9758, allocations: 8.375 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.976, allocations: 107.5 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.976, allocations: 4 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.976, allocations: 4 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.976, allocations: 4 kB / 1.211 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.484e-05/0.9761, allocations: 47.86 kB / 1.211 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.9767, allocations: 464.3 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.852e-05/0.9768, allocations: 45.14 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.9768, allocations: 17.78 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.9768, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.9769, allocations: 34.56 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.9769, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001808/0.9771, allocations: 57.55 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.9771, allocations: 85.09 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.9773, allocations: 175.2 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.9773, allocations: 25.7 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/0.9774, allocations: 116 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.9775, allocations: 7.891 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.9775, allocations: 17.62 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9776, allocations: 331 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.9777, allocations: 4 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.9777, allocations: 25.66 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.068e-05/0.9777, allocations: 21.72 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9778, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.667e-05/0.9779, allocations: 65.53 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9779, allocations: 8.062 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.9779, allocations: 0 / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.9779, allocations: 0 / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.978, allocations: 8 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.978, allocations: 224 / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/0.978, allocations: 11.84 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.978, allocations: 7.875 kB / 1.212 GB, free: 9.906 MB / 0.9356 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 8.474e-05/0.9781, allocations: 117.8 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.9782, allocations: 7.906 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.9782, allocations: 16.56 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.9782, allocations: 0 / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.9782, allocations: 3.938 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.9783, allocations: 89 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.9783, allocations: 7.938 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.9784, allocations: 0 / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.9784, allocations: 7.938 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001116/0.9785, allocations: 192.2 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001728/0.9787, allocations: 309.9 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.948e-05/0.9787, allocations: 4 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001135/0.9789, allocations: 131.2 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of Backend: time 4.01e-07/0.9789, allocations: 0 / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004483/0.9793, allocations: 98.36 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005432/0.9799, allocations: 0.6239 MB / 1.214 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of Templates: time 0.002846/0.9827, allocations: 0.5903 MB / 1.214 GB, free: 7.617 MB / 0.9356 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/jenkins1/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