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.001385/0.001385, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001451/0.001451, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.489/1.489, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.887/2.887, allocations: 0.49 GB / 0.7923 GB, free: 1.262 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.002036/0.002036, allocations: 71.91 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003425/1.012, allocations: 2.466 MB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002207/1.014, allocations: 1.681 MB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/1.014, allocations: 6.562 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006289/1.015, allocations: 217.9 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004427/1.015, allocations: 202 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/1.016, allocations: 157.4 kB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003805/1.016, allocations: 362.2 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/1.016, allocations: 70.23 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/1.016, allocations: 147.4 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/1.016, allocations: 162.8 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/1.017, allocations: 21.59 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/1.017, allocations: 64.48 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/1.017, allocations: 135.8 kB / 1.327 GB, free: 21.42 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/1.017, allocations: 190.5 kB / 1.328 GB, free: 21.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005755/1.018, allocations: 0.5167 MB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.018, allocations: 0.9688 kB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/1.018, allocations: 0 / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.026e-06/1.018, allocations: 0 / 1.328 GB, free: 21.06 MB / 1.061 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.001241/1.019, allocations: 0.8247 MB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.019, allocations: 17.55 kB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/1.019, allocations: 60.41 kB / 1.329 GB, free: 20.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/1.02, allocations: 446.7 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/1.02, allocations: 9.406 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/1.02, allocations: 21.75 kB / 1.33 GB, free: 19.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/1.02, allocations: 133.5 kB / 1.33 GB, free: 19.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.02, allocations: 4.625 kB / 1.33 GB, free: 19.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/1.02, allocations: 4.234 kB / 1.33 GB, free: 19.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/1.02, allocations: 7.062 kB / 1.33 GB, free: 19.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/1.02, allocations: 81.41 kB / 1.33 GB, free: 19.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/1.021, allocations: 0.6344 MB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/1.022, allocations: 139.2 kB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.806e-05/1.022, allocations: 44.19 kB / 1.331 GB, free: 19.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/1.022, allocations: 3.406 kB / 1.331 GB, free: 19.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/1.022, allocations: 101.3 kB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 2.084e-06/1.022, allocations: 0 / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0004733/1.022, allocations: 222.4 kB / 1.331 GB, free: 19.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/1.023, allocations: 53.44 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007724/1.023, allocations: 0.6678 MB / 1.332 GB, free: 18.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/1.023, allocations: 32.67 kB / 1.332 GB, free: 18.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/1.023, allocations: 257.6 kB / 1.332 GB, free: 18.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/1.024, allocations: 37.36 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.63e-05/1.024, allocations: 57.22 kB / 1.332 GB, free: 18.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.024, allocations: 369 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/1.024, allocations: 84.3 kB / 1.332 GB, free: 18.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/1.024, allocations: 114.9 kB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/1.024, allocations: 134.8 kB / 1.333 GB, free: 18.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.024, allocations: 0 / 1.333 GB, free: 18.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004386/1.025, allocations: 271.2 kB / 1.333 GB, free: 17.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/1.025, allocations: 8.812 kB / 1.333 GB, free: 17.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.025, allocations: 0.75 kB / 1.333 GB, free: 17.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.025, allocations: 2 kB / 1.333 GB, free: 17.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/1.025, allocations: 43.48 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.025, allocations: 1.094 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/1.025, allocations: 25.91 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/1.025, allocations: 6.094 kB / 1.333 GB, free: 17.91 MB / 1.061 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.0002055/1.025, allocations: 215.5 kB / 1.333 GB, free: 17.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/1.025, allocations: 59.03 kB / 1.333 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/1.026, allocations: 57.03 kB / 1.333 GB, free: 17.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/1.026, allocations: 2.25 kB / 1.333 GB, free: 17.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/1.026, allocations: 0 / 1.333 GB, free: 17.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.026, allocations: 2.25 kB / 1.333 GB, free: 17.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/1.026, allocations: 380.1 kB / 1.334 GB, free: 17.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.026, allocations: 4.594 kB / 1.334 GB, free: 17.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/1.026, allocations: 12.69 kB / 1.334 GB, free: 17.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.026, allocations: 1.703 kB / 1.334 GB, free: 17.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/1.026, allocations: 7.328 kB / 1.334 GB, free: 17.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.026, allocations: 0 / 1.334 GB, free: 17.4 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.026, allocations: 1.031 kB / 1.334 GB, free: 17.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/1.026, allocations: 264.8 kB / 1.334 GB, free: 17.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/1.027, allocations: 131.1 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/1.027, allocations: 3.281 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/1.027, allocations: 15.44 kB / 1.334 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/1.027, allocations: 26.33 kB / 1.334 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/1.027, allocations: 8.188 kB / 1.334 GB, free: 17.1 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005501/1.027, allocations: 444.3 kB / 1.334 GB, free: 16.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.027, allocations: 0 / 1.334 GB, free: 16.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003357/1.028, allocations: 58.03 kB / 1.335 GB, free: 16.91 MB / 1.061 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 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001595/1.029, allocations: 433.7 kB / 1.335 GB, free: 16.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004342/1.03, allocations: 156.8 kB / 1.335 GB, free: 16.65 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.03, allocations: 0 / 1.335 GB, free: 16.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/1.03, allocations: 46.27 kB / 1.335 GB, free: 16.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/1.03, allocations: 76.34 kB / 1.335 GB, free: 16.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/1.032, allocations: 0.9142 MB / 1.336 GB, free: 16.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/1.032, allocations: 0.856 MB / 1.337 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.782e-05/1.032, allocations: 34.2 kB / 1.337 GB, free: 15.38 MB / 1.061 GB Notification: Performance of SimCode: time 6.02e-07/1.032, allocations: 0 / 1.337 GB, free: 15.38 MB / 1.061 GB Notification: Performance of Templates: time 0.01115/1.044, allocations: 5.534 MB / 1.342 GB, free: 14.42 MB / 1.061 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: 12.509970504004741]