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.002292/0.002292, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.0029/0.0029, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.589/1.589, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.067/3.067, allocations: 389 MB / 0.633 GB, free: 0.9961 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.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.232e-06/1.232e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.911e-05, allocations: 2.281 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004325/0.004355, allocations: 2.386 MB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.007348, allocations: 1.56 MB / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.007531, allocations: 7.938 kB / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.0083, allocations: 219.3 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005315/0.008831, allocations: 210.9 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.009229, allocations: 159.4 kB / 1.005 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.009735, allocations: 370.7 kB / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.00996, allocations: 56.91 kB / 1.005 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.01026, allocations: 195.5 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.01049, allocations: 135.6 kB / 1.005 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.375e-05/0.01055, allocations: 20 kB / 1.005 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.01073, allocations: 67.91 kB / 1.005 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.0109, allocations: 131.5 kB / 1.006 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.01105, allocations: 99.58 kB / 1.006 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006923/0.01174, allocations: 0.4982 MB / 1.006 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.01174, allocations: 4 kB / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.462e-06/0.01175, allocations: 0 / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.01175, allocations: 0 / 1.006 GB, free: 1.164 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001348/0.0131, allocations: 0.7406 MB / 1.007 GB, free: 400 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.01314, allocations: 12.03 kB / 1.007 GB, free: 388 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.01326, allocations: 68.5 kB / 1.007 GB, free: 320 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.0139, allocations: 378.6 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.01392, allocations: 12.38 kB / 1.007 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.01396, allocations: 12.38 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.01431, allocations: 185.3 kB / 1.007 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.01432, allocations: 3.938 kB / 1.007 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.01435, allocations: 4 kB / 1.007 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.01435, allocations: 7.938 kB / 1.007 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.01458, allocations: 91.94 kB / 1.008 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.01563, allocations: 0.5273 MB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.01599, allocations: 126.6 kB / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.0161, allocations: 44.84 kB / 1.008 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.01613, allocations: 0 / 1.008 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002794/0.01641, allocations: 162.6 kB / 1.008 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.01641, allocations: 4 kB / 1.008 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0005262/0.01693, allocations: 213.2 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.01698, allocations: 51.41 kB / 1.009 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008641/0.01785, allocations: 0.6681 MB / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.01789, allocations: 33.7 kB / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.01814, allocations: 264.3 kB / 1.01 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.01819, allocations: 39.72 kB / 1.01 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.821e-05/0.01829, allocations: 57.69 kB / 1.01 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.01851, allocations: 366.8 kB / 1.01 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.01867, allocations: 87.89 kB / 1.01 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.01891, allocations: 166.8 kB / 1.01 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.01916, allocations: 124.3 kB / 1.01 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01917, allocations: 0 / 1.01 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000463/0.01963, allocations: 277.1 kB / 1.011 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.01965, allocations: 7.938 kB / 1.011 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01966, allocations: 0 / 1.011 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.01967, allocations: 4 kB / 1.011 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.01988, allocations: 39.92 kB / 1.011 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01989, allocations: 4.062 kB / 1.011 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.02007, allocations: 27.97 kB / 1.011 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.0201, allocations: 8 kB / 1.011 GB, free: 12.17 MB / 0.9669 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.0002649/0.02037, allocations: 210.2 kB / 1.011 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.02e-05/0.02046, allocations: 63.55 kB / 1.011 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.02086, allocations: 186.5 kB / 1.011 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.02087, allocations: 0 / 1.011 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.02087, allocations: 0 / 1.011 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.02087, allocations: 4 kB / 1.011 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.02126, allocations: 297 kB / 1.011 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.02126, allocations: 0 / 1.011 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.694e-05/0.02135, allocations: 11.94 kB / 1.011 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.02135, allocations: 4 kB / 1.011 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.02137, allocations: 7.922 kB / 1.011 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.02138, allocations: 0 / 1.011 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02138, allocations: 3.938 kB / 1.011 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.02191, allocations: 270.6 kB / 1.012 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.02199, allocations: 47.66 kB / 1.012 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.705e-05/0.02205, allocations: 19.98 kB / 1.012 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.02219, allocations: 15.92 kB / 1.012 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.02226, allocations: 23.97 kB / 1.012 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.02228, allocations: 7.938 kB / 1.012 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005513/0.02283, allocations: 447 kB / 1.012 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02283, allocations: 0 / 1.012 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003048/0.02314, allocations: 59.88 kB / 1.012 GB, free: 10.46 MB / 0.9669 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.001825/0.02496, allocations: 447.9 kB / 1.013 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004034/0.02536, allocations: 147.7 kB / 1.013 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.02537, allocations: 3.938 kB / 1.013 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.02551, allocations: 63.91 kB / 1.013 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.02598, allocations: 66 kB / 1.013 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.02742, allocations: 0.8293 MB / 1.014 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.02773, allocations: 262.5 kB / 1.014 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.02786, allocations: 50.92 kB / 1.014 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.02795, allocations: 28.5 kB / 1.014 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of SimCode: time 7.32e-07/0.02795, allocations: 4 kB / 1.014 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of Templates: time 0.01121/0.03916, allocations: 4.178 MB / 1.018 GB, free: 4.586 MB / 0.9669 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: 9.213829260319471]