Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008434/0.0008434, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008544/0.0008544, allocations: 173.9 kB / 23.22 MB, free: 1.344 MB / 18.57 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 0.9187/0.9187, allocations: 177.2 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.818/1.818, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 177] 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.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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.833e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002722/0.00275, allocations: 2.369 MB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.004419, allocations: 1.564 MB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.004551, allocations: 7.938 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.005064, allocations: 231.2 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003939/0.005458, allocations: 198.9 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.005685, allocations: 159.4 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.005986, allocations: 374.7 kB / 1.006 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.006145, allocations: 56.91 kB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.006307, allocations: 191.5 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.00645, allocations: 135.6 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.006482, allocations: 24 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.006581, allocations: 63.86 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.006684, allocations: 131.5 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.022e-05/0.006764, allocations: 99.58 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.007167, allocations: 0.5021 MB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.007169, allocations: 0 / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.523e-06/0.00717, allocations: 4 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.007176, allocations: 3.938 kB / 1.007 GB, free: 6.887 MB / 0.9636 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.0008295/0.008006, allocations: 0.7407 MB / 1.008 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.008044, allocations: 8.75 kB / 1.008 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.008117, allocations: 64.52 kB / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.008486, allocations: 374.7 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.008504, allocations: 12.38 kB / 1.008 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.008533, allocations: 16.36 kB / 1.008 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.008756, allocations: 185.3 kB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.008766, allocations: 0 / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.008781, allocations: 8 kB / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.008787, allocations: 4 kB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.008917, allocations: 95.88 kB / 1.008 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.009548, allocations: 0.5311 MB / 1.009 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.009768, allocations: 126.7 kB / 1.009 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.009826, allocations: 40.84 kB / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.009859, allocations: 4 kB / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.01004, allocations: 158.7 kB / 1.009 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.01004, allocations: 0 / 1.009 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0003122/0.01035, allocations: 213.5 kB / 1.009 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.01038, allocations: 67.28 kB / 1.009 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.01086, allocations: 0.6642 MB / 1.01 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.01087, allocations: 33.7 kB / 1.01 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.01101, allocations: 256.4 kB / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.01104, allocations: 43.72 kB / 1.01 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.01111, allocations: 49.7 kB / 1.01 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01121, allocations: 370.8 kB / 1.011 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.04e-05/0.0113, allocations: 79.91 kB / 1.011 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.01141, allocations: 166.8 kB / 1.011 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.01155, allocations: 132.2 kB / 1.011 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01156, allocations: 0 / 1.011 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002439/0.0118, allocations: 269.1 kB / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01181, allocations: 11.94 kB / 1.011 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.01182, allocations: 3.984 kB / 1.011 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01183, allocations: 0 / 1.011 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.01195, allocations: 43.91 kB / 1.011 GB, free: 1.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.01196, allocations: 4 kB / 1.011 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/0.01205, allocations: 27.88 kB / 1.011 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.01206, allocations: 8.031 kB / 1.012 GB, free: 1.898 MB / 0.9636 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.0001471/0.01221, allocations: 213.7 kB / 1.012 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.01225, allocations: 59.56 kB / 1.012 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.01248, allocations: 182.5 kB / 1.012 GB, free: 1.43 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.01249, allocations: 8 kB / 1.012 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.0125, allocations: 7.922 kB / 1.012 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.0125, allocations: 0 / 1.012 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.01275, allocations: 293 kB / 1.012 GB, free: 1.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01275, allocations: 4 kB / 1.012 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.01279, allocations: 11.94 kB / 1.012 GB, free: 1.082 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.0128, allocations: 0 / 1.012 GB, free: 1.082 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.01281, allocations: 3.938 kB / 1.012 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01281, allocations: 4 kB / 1.012 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01281, allocations: 3.984 kB / 1.012 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.01308, allocations: 260.7 kB / 1.013 GB, free: 0.7969 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.01312, allocations: 51.64 kB / 1.013 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.01315, allocations: 11.94 kB / 1.013 GB, free: 0.7344 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/0.01321, allocations: 15.98 kB / 1.013 GB, free: 0.7188 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.01327, allocations: 28.02 kB / 1.013 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.01328, allocations: 4 kB / 1.013 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003046/0.01358, allocations: 443 kB / 1.013 GB, free: 268 kB / 0.9636 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01358, allocations: 0 / 1.013 GB, free: 268 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001872/0.01377, allocations: 59.92 kB / 1.013 GB, free: 208 kB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007835/0.01455, allocations: 462.4 kB / 1.014 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.01479, allocations: 154 kB / 1.014 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01479, allocations: 4.062 kB / 1.014 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.01486, allocations: 55.92 kB / 1.014 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.01513, allocations: 79.28 kB / 1.014 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/0.016, allocations: 0.8708 MB / 1.015 GB, free: 14.75 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.01615, allocations: 258.5 kB / 1.015 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.01621, allocations: 28.5 kB / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of SimCode: time 5.81e-07/0.01621, allocations: 3.938 kB / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of Templates: time 0.005286/0.02149, allocations: 5.725 MB / 1.021 GB, free: 8.723 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.31161389593035]