Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001895/0.001895, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002163/0.002163, allocations: 165 kB / 22.46 MB, free: 5.359 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.527/1.527, allocations: 177.1 MB / 202.8 MB, free: 9.172 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 2.997/2.997, allocations: 389 MB / 0.633 GB, free: 0.9922 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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.007e-05, allocations: 5.797 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001903/0.001933, allocations: 0.7927 MB / 1.001 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001263/0.00206, allocations: 39.84 kB / 1.001 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.002123, allocations: 4 kB / 1.001 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.002165, allocations: 11.86 kB / 1.001 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.989e-05/0.002255, allocations: 11.81 kB / 1.001 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.732e-05/0.002312, allocations: 19.98 kB / 1.001 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.002454, allocations: 55.84 kB / 1.001 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.00261, allocations: 35.89 kB / 1.001 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.002705, allocations: 35.92 kB / 1.001 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.226e-05/0.002767, allocations: 15.91 kB / 1.001 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.002791, allocations: 12 kB / 1.001 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.002803, allocations: 7.938 kB / 1.001 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.002827, allocations: 15.98 kB / 1.001 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.002861, allocations: 15.92 kB / 1.001 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.002985, allocations: 75.69 kB / 1.001 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.00299, allocations: 4 kB / 1.001 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002991, allocations: 0 / 1.001 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.002995, 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.0005085/0.003504, allocations: 305.9 kB / 1.002 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.003545, allocations: 12.03 kB / 1.002 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.003582, allocations: 12.89 kB / 1.002 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.003791, allocations: 129.7 kB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.003809, allocations: 8.375 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.003822, allocations: 4.375 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.004022, allocations: 107.7 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.004033, allocations: 192 / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.004044, allocations: 384 / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.004058, allocations: 4.375 kB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.989e-05/0.004148, allocations: 39.92 kB / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.004707, allocations: 356.4 kB / 1.002 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.551e-05/0.004783, allocations: 41.22 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.004821, allocations: 17.78 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.004834, allocations: 8.031 kB / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.004866, allocations: 30.56 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.004867, allocations: 0 / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001845/0.005051, allocations: 53.58 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/0.005129, allocations: 81.05 kB / 1.002 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.005275, allocations: 140.3 kB / 1.003 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.005302, allocations: 29.7 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.005384, allocations: 111.9 kB / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.005392, allocations: 3.953 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.005428, allocations: 17.72 kB / 1.003 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.005595, allocations: 318.8 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.851e-05/0.005614, allocations: 4 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.005643, allocations: 21.72 kB / 1.003 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.00569, allocations: 25.66 kB / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005691, allocations: 0 / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.076e-05/0.005782, allocations: 61.64 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.005797, allocations: 4 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.005804, allocations: 4 kB / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.00582, allocations: 0 / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.005885, allocations: 7.938 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.005893, allocations: 3.938 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.00592, allocations: 7.938 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.005927, allocations: 3.984 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 0.0001157/0.006043, allocations: 113.8 kB / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.006089, allocations: 16.02 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.00612, allocations: 3.469 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006122, allocations: 0 / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.006129, allocations: 4 kB / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.006134, allocations: 3.938 kB / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.006551, allocations: 410.5 kB / 1.004 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006553, allocations: 0 / 1.004 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.006574, allocations: 4 kB / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.006576, allocations: 3.938 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.006586, allocations: 3.938 kB / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.006587, allocations: 4.062 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006588, allocations: 0 / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.006698, allocations: 81.88 kB / 1.004 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.006715, allocations: 4 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.006732, allocations: 7.922 kB / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.738e-05/0.006749, allocations: 4 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.006763, allocations: 3.938 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.006764, allocations: 0 / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.583e-05/0.00685, allocations: 103.3 kB / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.00685, allocations: 0 / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001894/0.00704, allocations: 11.98 kB / 1.004 GB, free: 3.129 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.0001153/0.007155, allocations: 99.23 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.124e-05/0.007236, allocations: 19.92 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.007238, allocations: 0 / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.256e-06/0.007246, allocations: 4 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.0001461/0.007392, 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.0003225/0.007715, 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 8.417e-05/0.007799, allocations: 87.5 kB / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.007825, allocations: 4 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.007849, allocations: 8.5 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of SimCode: time 4e-07/0.007849, allocations: 0 / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of Templates: time 0.002813/0.01066, allocations: 336.8 kB / 1.005 GB, free: 2.355 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.426903698593378]