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.001102/0.001102, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002783, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001094/0.001094, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002447, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9336/0.9336, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09703/1.031, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.761/1.761, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5171/2.278, allocations: 123.3 MB / 0.728 GB, free: 5.801 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0.875 kB / 0.7293 GB, free: 4.488 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.416e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.009463/0.009488, allocations: 2.508 MB / 0.7318 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002495/0.01198, allocations: 1.655 MB / 0.7334 GB, free: 360 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.01219, allocations: 9.031 kB / 0.7334 GB, free: 352 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00355/0.01574, allocations: 227.8 kB / 0.7336 GB, free: 128 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004525/0.01619, allocations: 212.6 kB / 0.7338 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.01657, allocations: 163.3 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.01693, allocations: 358.7 kB / 0.7343 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.01709, allocations: 59.67 kB / 0.7344 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006649/0.01776, allocations: 303.7 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.01792, allocations: 119.6 kB / 0.7348 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.01798, allocations: 20.56 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.01811, allocations: 59.92 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.01822, allocations: 117.2 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.0183, allocations: 75.69 kB / 0.7351 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.01874, allocations: 318.6 kB / 0.7354 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.01876, allocations: 3.984 kB / 0.7354 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01876, allocations: 1.25 kB / 0.7354 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.01877, allocations: 0 / 0.7354 GB, free: 14.38 MB / 0.7136 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.0007173/0.01949, allocations: 0.7906 MB / 0.7361 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.01952, allocations: 8.031 kB / 0.7362 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.01959, allocations: 45.92 kB / 0.7362 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.01994, allocations: 347.1 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.01995, allocations: 12.38 kB / 0.7365 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.01997, allocations: 14.16 kB / 0.7366 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.02012, allocations: 166.3 kB / 0.7367 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.02012, allocations: 3.938 kB / 0.7367 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.02013, allocations: 8 kB / 0.7367 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.02014, allocations: 0.875 kB / 0.7367 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.517e-05/0.02019, allocations: 36.66 kB / 0.7368 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.0206, allocations: 330.9 kB / 0.7371 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.02074, allocations: 125.8 kB / 0.7372 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.02081, allocations: 27.03 kB / 0.7372 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.02083, allocations: 4 kB / 0.7372 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.02095, allocations: 137.5 kB / 0.7374 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.02095, allocations: 0 / 0.7374 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0001446/0.02109, allocations: 105.6 kB / 0.7375 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.02112, allocations: 52.84 kB / 0.7375 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.02143, allocations: 0.5106 MB / 0.738 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.02145, allocations: 33.7 kB / 0.738 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.02153, allocations: 169.6 kB / 0.7382 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.02156, allocations: 40.31 kB / 0.7382 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.02161, allocations: 64.23 kB / 0.7383 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.02171, allocations: 370.7 kB / 0.7387 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.099e-05/0.02174, allocations: 22.81 kB / 0.7387 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.678e-05/0.02181, allocations: 113.1 kB / 0.7388 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.154e-05/0.02188, allocations: 69.5 kB / 0.7388 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.02188, allocations: 0 / 0.7388 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002379/0.02212, allocations: 139 kB / 0.739 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.02213, allocations: 4 kB / 0.739 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.02214, allocations: 4 kB / 0.739 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.02214, allocations: 3.938 kB / 0.739 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.02229, allocations: 39.97 kB / 0.739 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.02229, allocations: 3.938 kB / 0.739 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.02235, allocations: 20.97 kB / 0.7391 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.02237, allocations: 8 kB / 0.7391 GB, free: 10.39 MB / 0.7136 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 8.837e-05/0.02246, allocations: 123.1 kB / 0.7392 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.02249, allocations: 31.95 kB / 0.7392 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.02262, allocations: 127.9 kB / 0.7393 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.02263, allocations: 3.938 kB / 0.7393 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.02263, allocations: 0 / 0.7393 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.02263, allocations: 7.984 kB / 0.7393 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.02278, allocations: 182.1 kB / 0.7395 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02278, allocations: 0.5938 kB / 0.7395 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/0.02283, allocations: 19.98 kB / 0.7395 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.02287, allocations: 44.34 kB / 0.7396 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.02287, allocations: 4 kB / 0.7396 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.02288, allocations: 0.5 kB / 0.7396 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.02288, allocations: 3.438 kB / 0.7396 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.02288, allocations: 11.92 kB / 0.7396 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.02304, allocations: 154.5 kB / 0.7397 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.02307, allocations: 4 kB / 0.7397 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.02313, allocations: 11.98 kB / 0.7398 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.02318, allocations: 23.95 kB / 0.7398 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.02318, allocations: 3.938 kB / 0.7398 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001462/0.02333, allocations: 224.6 kB / 0.74 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.02333, allocations: 2.719 kB / 0.74 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001529/0.02348, allocations: 67.81 kB / 0.7401 GB, free: 9.32 MB / 0.7136 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.001182/0.02467, allocations: 0.5589 MB / 0.7406 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.02479, allocations: 80.75 kB / 0.7407 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.02479, allocations: 4 kB / 0.7407 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.02484, allocations: 36.78 kB / 0.7407 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.02505, allocations: 106 kB / 0.7408 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.02657, allocations: 0.7453 MB / 0.7416 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.332e-05/0.02664, allocations: 132.2 kB / 0.7417 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.319e-05/0.02671, allocations: 30.97 kB / 0.7417 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.02683, allocations: 107.3 kB / 0.7418 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/0.02683, allocations: 2.938 kB / 0.7418 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of Templates: time 0.007242/0.03407, allocations: 4.607 MB / 0.7463 GB, free: 3.367 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.919195883907378]