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.0009564/0.0009564, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001053/0.001053, allocations: 164.7 kB / 24.87 MB, free: 8.891 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 0.9183/0.9183, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.809/1.809, allocations: 377.9 MB / 0.6247 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.585e-06/2.585e-06, allocations: 4 kB / 0.8128 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.13e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003335/0.003356, allocations: 2.433 MB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.005464, allocations: 1.603 MB / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.00561, allocations: 7.938 kB / 0.8167 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.006152, allocations: 227.1 kB / 0.817 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.006548, allocations: 209 kB / 0.8172 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.00682, allocations: 159.5 kB / 0.8173 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.007177, allocations: 378.6 kB / 0.8177 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.007322, allocations: 55.41 kB / 0.8177 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005471/0.007869, allocations: 242.7 kB / 0.818 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.008032, allocations: 132.3 kB / 0.8181 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.008065, allocations: 20.88 kB / 0.8181 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.008172, allocations: 55.97 kB / 0.8182 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.008277, allocations: 133.2 kB / 0.8183 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.008365, allocations: 91.59 kB / 0.8184 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.008757, allocations: 338.6 kB / 0.8187 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.008758, allocations: 0 / 0.8187 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.62e-07/0.008759, allocations: 0 / 0.8187 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.008764, allocations: 0.625 kB / 0.8187 GB, free: 11.38 MB / 0.7761 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.0008411/0.009605, allocations: 0.8689 MB / 0.8195 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.009633, allocations: 8.031 kB / 0.8196 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.009718, allocations: 69.61 kB / 0.8196 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.01008, allocations: 372.5 kB / 0.82 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.0101, allocations: 12.36 kB / 0.82 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.01013, allocations: 21.64 kB / 0.82 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.0103, allocations: 158.3 kB / 0.8202 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.01031, allocations: 3.938 kB / 0.8202 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.01033, allocations: 9.109 kB / 0.8202 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.01033, allocations: 4 kB / 0.8202 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.01041, allocations: 43.89 kB / 0.8202 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.01101, allocations: 0.4894 MB / 0.8207 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.01116, allocations: 83.83 kB / 0.8208 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.0112, allocations: 32.73 kB / 0.8208 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.01121, allocations: 4 kB / 0.8208 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.01134, allocations: 137.8 kB / 0.8209 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.01134, allocations: 0 / 0.8209 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0002612/0.0116, allocations: 161.9 kB / 0.8211 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.01163, allocations: 59.34 kB / 0.8212 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.01211, allocations: 0.6125 MB / 0.8217 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.01213, allocations: 35.64 kB / 0.8218 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.01233, allocations: 339 kB / 0.8221 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.01237, allocations: 35.72 kB / 0.8221 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.183e-05/0.01245, allocations: 59.33 kB / 0.8222 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.01263, allocations: 0.5663 MB / 0.8228 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.01267, allocations: 20.77 kB / 0.8228 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.01276, allocations: 122.1 kB / 0.8229 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.157e-05/0.01285, allocations: 77.62 kB / 0.823 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01286, allocations: 0 / 0.823 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002121/0.01307, allocations: 181.1 kB / 0.8231 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.01308, allocations: 4 kB / 0.8231 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.01308, allocations: 0 / 0.8231 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.01309, allocations: 3.938 kB / 0.8231 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.01321, allocations: 39.91 kB / 0.8232 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.01321, allocations: 4.609 kB / 0.8232 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.01331, allocations: 28.38 kB / 0.8232 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.01333, allocations: 5.562 kB / 0.8232 GB, free: 6.5 MB / 0.7761 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.0001121/0.01344, allocations: 168.5 kB / 0.8234 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.01349, allocations: 59.62 kB / 0.8234 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.01369, allocations: 147.6 kB / 0.8236 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01369, allocations: 7.938 kB / 0.8236 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.01369, allocations: 4.656 kB / 0.8236 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.0137, allocations: 0 / 0.8236 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.01392, allocations: 246.8 kB / 0.8238 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01392, allocations: 0 / 0.8238 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.01396, allocations: 15.92 kB / 0.8238 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.01397, allocations: 4 kB / 0.8238 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.01398, allocations: 0 / 0.8238 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01398, allocations: 7.406 kB / 0.8238 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01398, allocations: 0 / 0.8238 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.01421, allocations: 218.3 kB / 0.8241 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.01426, allocations: 47.61 kB / 0.8241 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.0143, allocations: 4 kB / 0.8241 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.01438, allocations: 11.98 kB / 0.8241 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.01443, allocations: 23.89 kB / 0.8241 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.01444, allocations: 11.98 kB / 0.8242 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002607/0.0147, allocations: 371.8 kB / 0.8245 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.0147, allocations: 0 / 0.8245 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002576/0.01496, allocations: 59.89 kB / 0.8246 GB, free: 5.07 MB / 0.7761 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.0009336/0.01589, allocations: 406.2 kB / 0.8249 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.01605, allocations: 89.39 kB / 0.825 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01605, allocations: 0 / 0.825 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.688e-05/0.01612, allocations: 39.61 kB / 0.8251 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.01645, allocations: 70.08 kB / 0.8251 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009838/0.01743, allocations: 0.7309 MB / 0.8259 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.627e-05/0.01753, allocations: 136.1 kB / 0.826 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.32e-05/0.01762, allocations: 42.94 kB / 0.826 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.01778, allocations: 134.2 kB / 0.8262 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01778, allocations: 0 / 0.8262 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of Templates: time 0.008379/0.02616, allocations: 4.572 MB / 0.8306 GB, free: 15.04 MB / 0.7917 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.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: 5.078481747768819]