Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.001786/0.001786, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002141/0.002141, allocations: 206.3 kB / 23 MB, free: 4.934 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.444/3.444, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.39 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5227/0.5248, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005424/0.5302, allocations: 2.384 MB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003219/0.5334, allocations: 1.562 MB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.5336, allocations: 7.938 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008541/0.5345, allocations: 207 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005803/0.5351, allocations: 207.1 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.5355, allocations: 155.5 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.5361, allocations: 362.8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.5363, allocations: 60.89 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.5365, allocations: 151.3 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.5368, allocations: 163.3 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.5368, allocations: 24 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.537, allocations: 67.92 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.5371, allocations: 131.5 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.5373, allocations: 138.9 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007365/0.538, allocations: 0.521 MB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.538, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/0.538, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.5381, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001577/0.5396, allocations: 0.7562 MB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.5397, allocations: 8.031 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.5398, allocations: 64.52 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006387/0.5404, allocations: 375.3 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.5405, allocations: 8.375 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.5405, allocations: 19.94 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.5409, allocations: 186.6 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5409, allocations: 4 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.5409, allocations: 4 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5409, allocations: 8 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.5411, allocations: 87.89 kB / 1.335 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.5422, allocations: 0.5234 MB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.5426, allocations: 130.7 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.5427, allocations: 48.72 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.5427, allocations: 8 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.543, allocations: 154.8 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 2.114e-06/0.543, allocations: 0 / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005013/0.5435, allocations: 213.5 kB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.5435, allocations: 55.41 kB / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008062/0.5443, allocations: 0.668 MB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.5444, allocations: 33.7 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.5446, allocations: 256.4 kB / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.5447, allocations: 39.73 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.5448, allocations: 57.59 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.545, allocations: 374.8 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.5452, allocations: 75.97 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.5454, allocations: 166.8 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.5457, allocations: 127.5 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5457, allocations: 0 / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004906/0.5462, allocations: 273 kB / 1.338 GB, free: 5.945 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.5462, allocations: 8 kB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.5462, allocations: 0 / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.5462, allocations: 8 kB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.5464, allocations: 43.91 kB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.5464, allocations: 4 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.5466, allocations: 23.88 kB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.5466, allocations: 8 kB / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002646/0.5469, allocations: 214.2 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.547, allocations: 59.59 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.5474, allocations: 190.4 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.5474, allocations: 3.984 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5474, allocations: 4 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.5475, allocations: 51.62 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.5476, allocations: 8 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.5477, allocations: 11.98 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.5478, allocations: 23.95 kB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004251/0.5482, allocations: 236.8 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005801/0.5488, allocations: 418.4 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00013/0.5489, allocations: 49.88 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005578/0.5495, allocations: 447 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of Backend: time 6.92e-07/0.5495, allocations: 0 / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002407/0.5519, allocations: 0.5428 MB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of SimCode: time 0.002005/0.5539, allocations: 1.331 MB / 1.341 GB, free: 2.395 MB / 1.029 GB Notification: Performance of Templates: time 0.01169/0.5656, allocations: 4.865 MB / 1.346 GB, free: 13.6 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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: 10.395880837000732]