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.002722/0.002722, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.003288/0.003288, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.706/1.706, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 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.495/3.495, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.674e-06/1.674e-06, allocations: 0.9844 kB / 0.8775 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.005e-05, allocations: 2.812 kB / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004589/0.004619, allocations: 2.426 MB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003361/0.00798, allocations: 1.608 MB / 0.8814 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.008226, allocations: 7.938 kB / 0.8814 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000891/0.009117, allocations: 223.7 kB / 0.8816 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006923/0.009809, allocations: 207.7 kB / 0.8818 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007921/0.0106, allocations: 152.4 kB / 0.882 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.01112, allocations: 374.6 kB / 0.8823 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.01132, allocations: 61.98 kB / 0.8824 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.0116, allocations: 195.5 kB / 0.8826 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.01184, allocations: 132.6 kB / 0.8827 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.756e-05/0.0119, allocations: 24 kB / 0.8827 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.01206, allocations: 64.95 kB / 0.8828 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.01222, allocations: 135.5 kB / 0.8829 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.01236, allocations: 95.58 kB / 0.883 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007459/0.0131, allocations: 0.4988 MB / 0.8835 GB, free: 476 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.01311, allocations: 4 kB / 0.8835 GB, free: 472 kB / 0.8386 GB Notification: Performance of FrontEnd: time 2.905e-06/0.01312, allocations: 0.9688 kB / 0.8835 GB, free: 472 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.01313, allocations: 0 / 0.8835 GB, free: 472 kB / 0.8386 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.001622/0.01475, allocations: 0.8989 MB / 0.8844 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.01479, allocations: 12.03 kB / 0.8844 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.01493, allocations: 68.56 kB / 0.8845 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.01557, allocations: 365.5 kB / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.01559, allocations: 12.36 kB / 0.8848 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.01565, allocations: 20.31 kB / 0.8848 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.016, allocations: 178.5 kB / 0.885 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.01601, allocations: 0 / 0.885 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.01603, allocations: 4.625 kB / 0.885 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.01604, allocations: 4.594 kB / 0.885 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.01626, allocations: 83.94 kB / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.01751, allocations: 0.6615 MB / 0.8857 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.01787, allocations: 128.5 kB / 0.8859 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.888e-05/0.01797, allocations: 39.8 kB / 0.8859 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.018, allocations: 4 kB / 0.8859 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/0.01828, allocations: 168.4 kB / 0.8861 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.01828, allocations: 0 / 0.8861 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0005151/0.01879, allocations: 205.1 kB / 0.8863 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.01885, allocations: 55.41 kB / 0.8863 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/0.01981, allocations: 0.7066 MB / 0.887 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.01985, allocations: 29.7 kB / 0.887 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.02024, allocations: 355.1 kB / 0.8874 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.0203, allocations: 39.73 kB / 0.8874 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.02044, allocations: 71.31 kB / 0.8875 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004625/0.02091, allocations: 0.5821 MB / 0.888 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.02104, allocations: 55.98 kB / 0.8881 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.02126, allocations: 163.2 kB / 0.8883 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.02149, allocations: 114.3 kB / 0.8884 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.0215, allocations: 0 / 0.8884 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004369/0.02193, allocations: 241 kB / 0.8886 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.02195, allocations: 7.938 kB / 0.8886 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.02196, allocations: 0 / 0.8886 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.02198, allocations: 4 kB / 0.8886 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.02219, allocations: 39.97 kB / 0.8886 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.0222, allocations: 0 / 0.8886 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.02234, allocations: 19.95 kB / 0.8887 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.02237, allocations: 15.98 kB / 0.8887 GB, free: 10.9 MB / 0.8542 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.0005717/0.02294, allocations: 184.6 kB / 0.8889 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.928e-05/0.02303, allocations: 59.56 kB / 0.8889 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004422/0.02348, allocations: 178.4 kB / 0.8891 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02348, allocations: 0 / 0.8891 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.02348, allocations: 0 / 0.8891 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02349, allocations: 0 / 0.8891 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.02399, allocations: 388.4 kB / 0.8894 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.024, allocations: 0 / 0.8894 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.02406, allocations: 15.98 kB / 0.8895 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.02407, allocations: 0 / 0.8895 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.02409, allocations: 11.92 kB / 0.8895 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.02409, allocations: 0 / 0.8895 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.02409, allocations: 0 / 0.8895 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.02457, allocations: 267.6 kB / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.02468, allocations: 51.62 kB / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.02473, allocations: 7.938 kB / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.02484, allocations: 11.98 kB / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/0.02493, allocations: 27.98 kB / 0.8898 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.02494, allocations: 8 kB / 0.8898 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005185/0.02546, allocations: 423 kB / 0.8902 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02546, allocations: 0 / 0.8902 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002916/0.02575, allocations: 67.83 kB / 0.8903 GB, free: 9.168 MB / 0.8542 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.002891/0.02865, allocations: 452.8 kB / 0.8907 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000372/0.02902, allocations: 146.1 kB / 0.8909 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02902, allocations: 4.062 kB / 0.8909 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.02916, allocations: 67.11 kB / 0.8909 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.02964, allocations: 77.5 kB / 0.891 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.031, allocations: 0.7501 MB / 0.8917 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.03132, allocations: 255.5 kB / 0.892 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.03143, allocations: 38.95 kB / 0.892 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-05/0.03153, allocations: 32.48 kB / 0.8921 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.03153, allocations: 0 / 0.8921 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of Templates: time 0.01202/0.04355, allocations: 4.222 MB / 0.8962 GB, free: 3.324 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 240] 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.395716857980005]