Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 192.4 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.845/2.845, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 71.88 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8107/0.8129, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005448/0.8183, allocations: 2.456 MB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00378/0.8221, allocations: 1.545 MB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004325/0.8225, allocations: 7.938 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.8236, allocations: 231.1 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000786/0.8244, allocations: 151.2 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009182/0.8253, allocations: 195.4 kB / 1.279 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000634/0.8259, allocations: 346.9 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.8261, allocations: 56.72 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.8264, allocations: 155.3 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.8266, allocations: 155.3 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.8266, allocations: 24 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.8268, allocations: 67.92 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.827, allocations: 127.5 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.8272, allocations: 186.6 kB / 1.28 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.8279, allocations: 0.5043 MB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.8279, allocations: 4 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8279, allocations: 4 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.8279, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 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.001427/0.8293, allocations: 0.8198 MB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.8293, allocations: 12.03 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.8295, allocations: 60.52 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.8301, allocations: 432.5 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.8301, allocations: 12.38 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.8302, allocations: 19.88 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.8305, allocations: 134.8 kB / 1.282 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8305, allocations: 3.938 kB / 1.282 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.8305, allocations: 0 / 1.282 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.8305, allocations: 7.984 kB / 1.282 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.8307, allocations: 79.97 kB / 1.282 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.8318, allocations: 0.6407 MB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.8322, allocations: 130.7 kB / 1.282 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.8323, allocations: 48.84 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.8323, allocations: 0 / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.8326, allocations: 107.3 kB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.8326, allocations: 0 / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0004642/0.833, allocations: 217.5 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.8331, allocations: 51.41 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007749/0.8338, allocations: 0.6476 MB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.8339, allocations: 33.7 kB / 1.283 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.8341, allocations: 264.5 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.8342, allocations: 39.69 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.225e-05/0.8342, allocations: 53.7 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.8344, allocations: 370.8 kB / 1.284 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.8346, allocations: 75.91 kB / 1.284 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.8348, allocations: 122 kB / 1.284 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.8351, allocations: 131.7 kB / 1.284 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8351, allocations: 0 / 1.284 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004454/0.8355, allocations: 271.7 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.8356, allocations: 8 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8356, allocations: 0 / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8356, allocations: 0 / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.8358, allocations: 47.98 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.8358, allocations: 0 / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.836, allocations: 27.86 kB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.836, allocations: 11.94 kB / 1.285 GB, free: 9.293 MB / 0.9825 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.0002417/0.8362, allocations: 214.2 kB / 1.285 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/0.8363, allocations: 55.62 kB / 1.285 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.8367, allocations: 190.3 kB / 1.285 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.8367, allocations: 8 kB / 1.285 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8367, allocations: 0 / 1.285 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8367, allocations: 0 / 1.285 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.8371, allocations: 377.4 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8371, allocations: 0 / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.066e-05/0.8372, allocations: 11.94 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.8372, allocations: 0 / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.8372, allocations: 7.984 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8372, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8372, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/0.8377, allocations: 272.5 kB / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.8378, allocations: 128.8 kB / 1.286 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.8379, allocations: 4 kB / 1.286 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.838, allocations: 15.98 kB / 1.286 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.8381, allocations: 19.97 kB / 1.286 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.8381, allocations: 7.984 kB / 1.286 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005415/0.8386, allocations: 430.8 kB / 1.286 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8386, allocations: 4 kB / 1.286 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003186/0.8389, allocations: 63.88 kB / 1.287 GB, free: 7.418 MB / 0.9825 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 (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.001604/0.8405, allocations: 424.7 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003514/0.8409, allocations: 143.9 kB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8409, allocations: 0 / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.841, allocations: 52.05 kB / 1.287 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.8415, allocations: 75.62 kB / 1.287 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.843, allocations: 0.8634 MB / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.8435, allocations: 0.8578 MB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.8437, allocations: 42.25 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.8438, allocations: 27.44 kB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.8438, allocations: 0 / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of Templates: time 0.0102/0.854, allocations: 4.11 MB / 1.293 GB, free: 0.9727 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.086251036264002]