Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 190 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 251 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.289/3.289, allocations: 496 MB / 0.7834 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.86 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4486, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002456/0.4511, allocations: 0.8483 MB / 1.308 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001308/0.4512, allocations: 35.84 kB / 1.308 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.4513, allocations: 3.938 kB / 1.308 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.497e-05/0.4514, allocations: 11.86 kB / 1.308 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.014e-05/0.4514, allocations: 11.88 kB / 1.308 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.884e-05/0.4515, allocations: 19.98 kB / 1.308 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.4516, allocations: 51.91 kB / 1.308 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.4518, allocations: 51.89 kB / 1.308 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.152e-05/0.4519, allocations: 19.88 kB / 1.308 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.452, allocations: 31.78 kB / 1.308 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.452, allocations: 8 kB / 1.308 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.452, allocations: 4 kB / 1.308 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.452, allocations: 15.94 kB / 1.308 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.4521, allocations: 31.8 kB / 1.308 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.4522, allocations: 83.52 kB / 1.308 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4522, allocations: 0 / 1.308 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4522, allocations: 0 / 1.308 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.4523, allocations: 0 / 1.308 GB, free: 0.6328 MB / 0.9981 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.0005344/0.4528, allocations: 306 kB / 1.309 GB, free: 308 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.4528, allocations: 12.92 kB / 1.309 GB, free: 296 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.4529, allocations: 12.84 kB / 1.309 GB, free: 284 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.4531, allocations: 126.4 kB / 1.309 GB, free: 132 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4531, allocations: 8.375 kB / 1.309 GB, free: 124 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.4531, allocations: 12.25 kB / 1.309 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.4534, allocations: 96.73 kB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4534, allocations: 192 / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4534, allocations: 3.938 kB / 1.309 GB, free: 0 / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.4534, allocations: 4.047 kB / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.4535, allocations: 39.81 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.4542, allocations: 403.8 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.847e-05/0.4543, allocations: 45.19 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.4543, allocations: 17.84 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.4543, allocations: 4 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.4544, allocations: 34.55 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.4544, allocations: 0 / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002335/0.4546, allocations: 57.53 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/0.4547, allocations: 77.11 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.4549, allocations: 158.2 kB / 1.31 GB, free: 15.06 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.4549, allocations: 25.7 kB / 1.31 GB, free: 15.03 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.845e-05/0.455, allocations: 112 kB / 1.31 GB, free: 14.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.455, allocations: 4 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.4551, allocations: 17.67 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4552, allocations: 323.1 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.4553, allocations: 8 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.4553, allocations: 21.64 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.229e-05/0.4554, allocations: 29.72 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4554, allocations: 0 / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001196/0.4555, allocations: 53.59 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4555, allocations: 10.25 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4555, allocations: 7.938 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.4555, allocations: 3.984 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.9e-05/0.4556, allocations: 4 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.4556, allocations: 4 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.4557, allocations: 8 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.4557, allocations: 0 / 1.31 GB, free: 14.4 MB / 1.014 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.0001292/0.4558, allocations: 114.6 kB / 1.311 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.4558, allocations: 16 kB / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.4559, allocations: 23.72 kB / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4559, allocations: 3.938 kB / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4559, allocations: 0 / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4559, allocations: 0 / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.4564, allocations: 445.8 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4564, allocations: 4 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.4564, allocations: 0 / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4564, allocations: 8.062 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.4564, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.4564, allocations: 3.938 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4564, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.4566, allocations: 81.81 kB / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.4566, allocations: 11.95 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.4566, allocations: 0 / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.958e-05/0.4566, allocations: 8.031 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.4566, allocations: 3.984 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.4566, allocations: 0 / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001227/0.4568, allocations: 121.5 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4568, allocations: 0 / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001956/0.457, allocations: 12 kB / 1.311 GB, free: 13.48 MB / 1.014 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.0001405/0.4571, allocations: 95.25 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.4572, allocations: 19.94 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4572, allocations: 0 / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.4572, allocations: 4 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.4574, allocations: 15.88 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.4579, allocations: 158.6 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.4583, allocations: 0.7004 MB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.046e-05/0.4583, allocations: 8.422 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.4584, allocations: 11.44 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.4584, allocations: 0 / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of Templates: time 0.003333/0.4617, allocations: 476.6 kB / 1.313 GB, free: 11.93 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.47631758172065]