Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002974/0.002974, allocations: 173.9 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.032/3.032, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.679e-05, allocations: 10.16 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002065/0.002102, allocations: 0.7876 MB / 1.001 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.00224, allocations: 39.78 kB / 1.001 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.002302, allocations: 8 kB / 1.001 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.002341, allocations: 11.86 kB / 1.001 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.381e-05/0.002425, allocations: 7.938 kB / 1.001 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.534e-05/0.00248, allocations: 15.98 kB / 1.001 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.002624, allocations: 67.77 kB / 1.001 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.002765, allocations: 31.91 kB / 1.001 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.002874, allocations: 43.89 kB / 1.001 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.002921, allocations: 15.92 kB / 1.001 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.002943, allocations: 4 kB / 1.001 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.002956, allocations: 8 kB / 1.001 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.002979, allocations: 15.92 kB / 1.001 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.003015, allocations: 23.92 kB / 1.001 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.003157, allocations: 75.69 kB / 1.001 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003159, allocations: 3.938 kB / 1.001 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.31e-07/0.00316, allocations: 0 / 1.001 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.003164, allocations: 0 / 1.001 GB, free: 6.121 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004694/0.003633, allocations: 302 kB / 1.002 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.003669, allocations: 8.031 kB / 1.002 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.003707, allocations: 8.891 kB / 1.002 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.00392, allocations: 141.6 kB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.003936, allocations: 8.375 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.003951, allocations: 12.36 kB / 1.002 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.004125, allocations: 90.2 kB / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.004135, allocations: 8.125 kB / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.004148, allocations: 4.375 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.004158, allocations: 384 / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.125e-05/0.004249, allocations: 43.86 kB / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.004783, allocations: 352.5 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.193e-05/0.004855, allocations: 41.31 kB / 1.002 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.004888, allocations: 21.72 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.004894, allocations: 0 / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.004937, allocations: 38.55 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.004938, allocations: 0 / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001744/0.005112, allocations: 53.59 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.005167, allocations: 77.11 kB / 1.002 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.005307, allocations: 133.8 kB / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.005325, allocations: 25.7 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/0.005414, allocations: 112.2 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.005425, allocations: 11.95 kB / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.005457, allocations: 13.72 kB / 1.003 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.005607, allocations: 318.8 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.005631, allocations: 11.94 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.451e-05/0.005656, allocations: 13.72 kB / 1.003 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.005703, allocations: 25.72 kB / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005705, allocations: 0 / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001035/0.005808, allocations: 61.58 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.005822, allocations: 12 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.005826, allocations: 0 / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.00584, allocations: 0 / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.005901, allocations: 8 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.00591, allocations: 7.922 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.005939, allocations: 7.938 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.005946, allocations: 4 kB / 1.003 GB, free: 3.973 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 8.634e-05/0.006032, allocations: 113.8 kB / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.006074, allocations: 3.953 kB / 1.003 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.006097, allocations: 11.47 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006099, allocations: 4 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.006103, allocations: 0 / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.006108, allocations: 3.938 kB / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.006527, allocations: 410.5 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.006529, allocations: 0 / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.006555, allocations: 7.938 kB / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.006557, allocations: 0 / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.006565, allocations: 7.875 kB / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.006567, allocations: 4 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.00657, allocations: 3.984 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.006679, allocations: 74.02 kB / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.006701, allocations: 8 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.006718, allocations: 7.922 kB / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.841e-05/0.006736, allocations: 0 / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.00675, allocations: 4 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.006752, allocations: 0 / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.532e-05/0.006827, allocations: 102.4 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.006827, allocations: 0 / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000197/0.007024, allocations: 15.89 kB / 1.004 GB, free: 3.133 MB / 0.9512 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.000133/0.007157, allocations: 99.27 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.148e-05/0.007249, allocations: 19.98 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.007251, allocations: 0 / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.007265, allocations: 7.938 kB / 1.004 GB, free: 3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.00742, allocations: 8 kB / 1.004 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.007787, allocations: 158.6 kB / 1.004 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.664e-05/0.007864, allocations: 83.56 kB / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.007891, allocations: 8.016 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.007916, allocations: 12.5 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.007916, allocations: 0 / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of Templates: time 0.002934/0.01085, allocations: 336.4 kB / 1.005 GB, free: 2.352 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.413277357816696]