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.002364/0.002364, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002082/0.002082, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.633/1.633, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.13/3.13, allocations: 377.9 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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.314e-06/2.314e-06, allocations: 0 / 0.8108 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.875e-05, allocations: 6.25 kB / 0.8108 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004936/0.004974, allocations: 2.436 MB / 0.8132 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003201/0.008176, allocations: 1.611 MB / 0.8148 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.008346, allocations: 8.969 kB / 0.8148 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007449/0.009091, allocations: 214.8 kB / 0.815 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.009631, allocations: 205.8 kB / 0.8152 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.01003, allocations: 159.4 kB / 0.8153 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005283/0.01056, allocations: 370.7 kB / 0.8157 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.01077, allocations: 52.91 kB / 0.8157 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.01124, allocations: 195.5 kB / 0.8159 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.01149, allocations: 132.1 kB / 0.8161 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.515e-05/0.01156, allocations: 24.72 kB / 0.8161 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.01175, allocations: 67.84 kB / 0.8161 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.01193, allocations: 128.1 kB / 0.8163 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.01214, allocations: 105.2 kB / 0.8164 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007747/0.01291, allocations: 0.502 MB / 0.8169 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.01291, allocations: 0 / 0.8169 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/0.01292, allocations: 0 / 0.8169 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.01292, allocations: 0 / 0.8169 GB, free: 10.79 MB / 0.7292 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.001507/0.01443, allocations: 0.8923 MB / 0.8177 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.01447, allocations: 9.188 kB / 0.8177 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.01462, allocations: 76.52 kB / 0.8178 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.01524, allocations: 355 kB / 0.8182 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.01527, allocations: 12.31 kB / 0.8182 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.01531, allocations: 16.38 kB / 0.8182 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.01568, allocations: 185.8 kB / 0.8184 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.01569, allocations: 3.984 kB / 0.8184 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.01571, allocations: 9.062 kB / 0.8184 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.01572, allocations: 0 / 0.8184 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.01594, allocations: 79.95 kB / 0.8184 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.01721, allocations: 0.681 MB / 0.8191 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.01756, allocations: 129.4 kB / 0.8192 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.01766, allocations: 43.67 kB / 0.8193 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.01768, allocations: 0 / 0.8193 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.01795, allocations: 164.3 kB / 0.8194 GB, free: 8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.994e-06/0.01795, allocations: 2.719 kB / 0.8194 GB, free: 8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0004859/0.01844, allocations: 201.2 kB / 0.8196 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.0185, allocations: 51.41 kB / 0.8197 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009186/0.01942, allocations: 0.7066 MB / 0.8204 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.01946, allocations: 29.7 kB / 0.8204 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.0198, allocations: 347.2 kB / 0.8207 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.01986, allocations: 43.69 kB / 0.8208 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.01999, allocations: 75.34 kB / 0.8208 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003838/0.02037, allocations: 0.5836 MB / 0.8214 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.02051, allocations: 51.97 kB / 0.8215 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.02073, allocations: 165.1 kB / 0.8216 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.02095, allocations: 111.9 kB / 0.8217 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.02095, allocations: 1.344 kB / 0.8217 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004328/0.02138, allocations: 241.1 kB / 0.822 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.0214, allocations: 7.938 kB / 0.822 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.02141, allocations: 0.9688 kB / 0.822 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.02143, allocations: 3.938 kB / 0.822 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.02162, allocations: 35.97 kB / 0.822 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.02163, allocations: 8.594 kB / 0.822 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.02179, allocations: 27.56 kB / 0.822 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.02181, allocations: 8 kB / 0.822 GB, free: 5.238 MB / 0.7292 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.0002107/0.02203, allocations: 180.6 kB / 0.8222 GB, free: 5.051 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.04e-05/0.02212, allocations: 67.56 kB / 0.8223 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.02251, allocations: 170.4 kB / 0.8224 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.02252, allocations: 8 kB / 0.8224 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.02253, allocations: 0 / 0.8224 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.02253, allocations: 0 / 0.8224 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.02321, allocations: 386.1 kB / 0.8228 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.02321, allocations: 4 kB / 0.8228 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.534e-05/0.0233, allocations: 11.98 kB / 0.8228 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.0233, allocations: 0 / 0.8228 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.02332, allocations: 4.906 kB / 0.8228 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.02332, allocations: 4 kB / 0.8228 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02332, allocations: 0 / 0.8228 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.02382, allocations: 265 kB / 0.8231 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.02393, allocations: 51.62 kB / 0.8231 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.593e-05/0.02399, allocations: 11.92 kB / 0.8232 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.0241, allocations: 9.125 kB / 0.8232 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.0242, allocations: 27.95 kB / 0.8232 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.02421, allocations: 9.078 kB / 0.8232 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005615/0.02478, allocations: 427 kB / 0.8236 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.02478, allocations: 0 / 0.8236 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003142/0.02509, allocations: 64.61 kB / 0.8237 GB, free: 3.5 MB / 0.7292 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.002998/0.02809, allocations: 462.1 kB / 0.8241 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.0285, allocations: 135.6 kB / 0.8242 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.0285, allocations: 0 / 0.8242 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.02864, allocations: 71.59 kB / 0.8243 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.02911, allocations: 80.88 kB / 0.8244 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.03052, allocations: 0.7464 MB / 0.8251 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.03081, allocations: 251.7 kB / 0.8254 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.03094, allocations: 38.94 kB / 0.8254 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.03103, allocations: 32.5 kB / 0.8254 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.03103, allocations: 4 kB / 0.8254 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of Templates: time 0.01131/0.04234, allocations: 4.212 MB / 0.8295 GB, free: 13.7 MB / 0.7448 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","/var/lib/jenkins/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: 8.54699529602658]