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.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.00136/0.00136, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009895/0.0009895, allocations: 169 kB / 24.27 MB, free: 284 kB / 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.9541/0.9541, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.74/1.74, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.382e-06/1.382e-06, allocations: 0 / 0.7871 GB, free: 11.67 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.121e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003789/0.00381, allocations: 2.463 MB / 0.7895 GB, free: 9.215 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.006337, allocations: 1.608 MB / 0.7911 GB, free: 7.605 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.006548, allocations: 7.938 kB / 0.7911 GB, free: 7.598 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006778/0.007226, allocations: 214.8 kB / 0.7913 GB, free: 7.391 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.00773, allocations: 207.3 kB / 0.7915 GB, free: 7.191 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.008101, allocations: 158.1 kB / 0.7916 GB, free: 7.039 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.008563, allocations: 378.6 kB / 0.792 GB, free: 6.668 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.00875, allocations: 52.89 kB / 0.7921 GB, free: 6.617 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.009001, allocations: 191.5 kB / 0.7922 GB, free: 6.43 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.009262, allocations: 131.6 kB / 0.7924 GB, free: 6.301 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.009306, allocations: 21.56 kB / 0.7924 GB, free: 6.281 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.009454, allocations: 71.84 kB / 0.7924 GB, free: 6.211 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.009587, allocations: 135.5 kB / 0.7926 GB, free: 6.078 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.009699, allocations: 95.58 kB / 0.7927 GB, free: 5.984 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004694/0.01017, allocations: 343.2 kB / 0.793 GB, free: 5.648 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01017, allocations: 0 / 0.793 GB, free: 5.648 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01017, allocations: 0.75 kB / 0.793 GB, free: 5.648 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.01018, allocations: 0 / 0.793 GB, free: 5.648 MB / 0.698 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.001032/0.01121, allocations: 0.8616 MB / 0.7938 GB, free: 4.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.01124, allocations: 8.031 kB / 0.7938 GB, free: 4.742 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.01133, allocations: 76.45 kB / 0.7939 GB, free: 4.668 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.01168, allocations: 370.9 kB / 0.7943 GB, free: 4.277 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.0117, allocations: 12.36 kB / 0.7943 GB, free: 4.266 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.01173, allocations: 22.25 kB / 0.7943 GB, free: 4.246 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.01193, allocations: 175.4 kB / 0.7945 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.01194, allocations: 0 / 0.7945 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.01195, allocations: 8 kB / 0.7945 GB, free: 4.047 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.01196, allocations: 3.984 kB / 0.7945 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.884e-05/0.01206, allocations: 53.48 kB / 0.7945 GB, free: 3.992 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.01268, allocations: 0.5973 MB / 0.7951 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.01285, allocations: 105 kB / 0.7952 GB, free: 3.246 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.01289, allocations: 27.67 kB / 0.7952 GB, free: 3.215 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.01291, allocations: 4 kB / 0.7953 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.01305, allocations: 150.9 kB / 0.7954 GB, free: 3.039 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.01305, allocations: 0 / 0.7954 GB, free: 3.039 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.000255/0.01331, allocations: 169.2 kB / 0.7956 GB, free: 2.867 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.01333, allocations: 55.41 kB / 0.7956 GB, free: 2.801 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.01377, allocations: 0.6284 MB / 0.7962 GB, free: 2.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.01379, allocations: 33.7 kB / 0.7963 GB, free: 2.121 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.01395, allocations: 327.2 kB / 0.7966 GB, free: 1.797 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.01399, allocations: 36.22 kB / 0.7966 GB, free: 1.762 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.01406, allocations: 64.06 kB / 0.7967 GB, free: 1.691 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.01421, allocations: 0.5587 MB / 0.7972 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.01427, allocations: 32.44 kB / 0.7972 GB, free: 1.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.121e-05/0.01436, allocations: 130.6 kB / 0.7974 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.01446, allocations: 86.14 kB / 0.7974 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01446, allocations: 0 / 0.7974 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002106/0.01467, allocations: 195.7 kB / 0.7976 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.01469, allocations: 8.562 kB / 0.7976 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.01469, allocations: 4 kB / 0.7976 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.0147, allocations: 0.75 kB / 0.7976 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.01483, allocations: 35.98 kB / 0.7977 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01483, allocations: 4.984 kB / 0.7977 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.01495, allocations: 15.95 kB / 0.7977 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.01497, allocations: 12.67 kB / 0.7977 GB, free: 0.5742 MB / 0.698 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.0001366/0.01511, allocations: 169.5 kB / 0.7979 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.01518, allocations: 67.56 kB / 0.7979 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.0154, allocations: 155.3 kB / 0.7981 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01541, allocations: 0 / 0.7981 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01541, allocations: 1.531 kB / 0.7981 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.01541, allocations: 0 / 0.7981 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.01566, allocations: 340.4 kB / 0.7984 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01566, allocations: 0 / 0.7984 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.01571, allocations: 9 kB / 0.7984 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.01571, allocations: 4 kB / 0.7984 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.01573, allocations: 11.92 kB / 0.7984 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.01573, allocations: 6.047 kB / 0.7984 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.01573, allocations: 0 / 0.7984 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.01596, allocations: 220 kB / 0.7987 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.01601, allocations: 59.55 kB / 0.7987 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.01604, allocations: 7.938 kB / 0.7987 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.0161, allocations: 18.27 kB / 0.7987 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.01616, allocations: 15.97 kB / 0.7987 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.01617, allocations: 11.98 kB / 0.7988 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000259/0.01643, allocations: 379 kB / 0.7991 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.01643, allocations: 0 / 0.7991 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001959/0.01662, allocations: 71.81 kB / 0.7992 GB, free: 15 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.001079/0.0177, allocations: 401.3 kB / 0.7996 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.01788, allocations: 91.58 kB / 0.7997 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01788, allocations: 1.062 kB / 0.7997 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/0.01795, allocations: 47.61 kB / 0.7997 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.01822, allocations: 78.61 kB / 0.7998 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009405/0.01916, allocations: 0.7312 MB / 0.8005 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.511e-05/0.01923, allocations: 132.2 kB / 0.8006 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.545e-05/0.01932, allocations: 46.94 kB / 0.8007 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.01938, allocations: 32.48 kB / 0.8007 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/0.01938, allocations: 0 / 0.8007 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.007201/0.02658, allocations: 4.216 MB / 0.8048 GB, free: 9.414 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 240] 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","",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.945439312141389]