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.0009429/0.0009429, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009433/0.0009433, allocations: 161 kB / 24.17 MB, free: 328 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.9608/0.9608, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.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.868/1.868, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 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.734e-06/1.734e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.664e-05, allocations: 2.312 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00459/0.004616, allocations: 2.455 MB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002788/0.007404, allocations: 1.638 MB / 0.764 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.007622, allocations: 9.688 kB / 0.764 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.008298, allocations: 218.2 kB / 0.7642 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005375/0.008836, allocations: 216.3 kB / 0.7645 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.009229, allocations: 159.5 kB / 0.7646 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.009615, allocations: 370.7 kB / 0.765 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.009752, allocations: 56.08 kB / 0.765 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.01027, allocations: 233.7 kB / 0.7652 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.01041, allocations: 116.2 kB / 0.7653 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.01044, allocations: 20.75 kB / 0.7654 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.01054, allocations: 63.92 kB / 0.7654 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.204e-05/0.01063, allocations: 132.3 kB / 0.7656 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.0107, allocations: 95.58 kB / 0.7656 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.01106, allocations: 335.4 kB / 0.766 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01106, allocations: 0 / 0.766 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01106, allocations: 1.375 kB / 0.766 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.01107, allocations: 0 / 0.766 GB, free: 0.5859 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.0006563/0.01172, allocations: 0.713 MB / 0.7667 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.01175, allocations: 12.03 kB / 0.7667 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.01181, allocations: 37.83 kB / 0.7667 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.01212, allocations: 351.1 kB / 0.767 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/0.01318, allocations: 8.375 kB / 0.7671 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.01323, allocations: 19.12 kB / 0.7671 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.01345, allocations: 170.2 kB / 0.7672 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.01346, allocations: 0 / 0.7672 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.01348, allocations: 4 kB / 0.7672 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.01348, allocations: 4 kB / 0.7672 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.106e-05/0.01357, allocations: 39.89 kB / 0.7673 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.01419, allocations: 332.5 kB / 0.7676 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.01437, allocations: 117.3 kB / 0.7677 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.01441, allocations: 28.83 kB / 0.7677 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.01442, allocations: 0 / 0.7677 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.01457, allocations: 135 kB / 0.7679 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.01457, allocations: 0 / 0.7679 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0002055/0.01478, allocations: 117.5 kB / 0.768 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.01481, allocations: 57.2 kB / 0.768 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.01526, allocations: 0.5106 MB / 0.7685 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.01529, allocations: 29.7 kB / 0.7686 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.0154, allocations: 173.7 kB / 0.7687 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.01543, allocations: 35.72 kB / 0.7688 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/0.01551, allocations: 58.5 kB / 0.7688 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.01564, allocations: 374.7 kB / 0.7692 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.77e-05/0.01568, allocations: 26.75 kB / 0.7692 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.683e-05/0.01577, allocations: 106.5 kB / 0.7693 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.819e-05/0.01587, allocations: 70.41 kB / 0.7694 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01587, allocations: 0.6562 kB / 0.7694 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002012/0.01607, allocations: 141 kB / 0.7695 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01609, allocations: 4 kB / 0.7695 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01609, allocations: 0 / 0.7695 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.01611, allocations: 7.938 kB / 0.7695 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.01624, allocations: 35.92 kB / 0.7695 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.01625, allocations: 2.438 kB / 0.7695 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.01635, allocations: 27.88 kB / 0.7696 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.01637, allocations: 4 kB / 0.7696 GB, free: 12.68 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.0001111/0.01648, allocations: 120.7 kB / 0.7697 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.01653, allocations: 42.17 kB / 0.7697 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.01672, allocations: 118.4 kB / 0.7698 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.01672, allocations: 7.938 kB / 0.7699 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01672, allocations: 0 / 0.7699 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01673, allocations: 0 / 0.7699 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.01692, allocations: 185.6 kB / 0.77 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01693, allocations: 0.6562 kB / 0.77 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.01699, allocations: 15.98 kB / 0.77 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01699, allocations: 0.625 kB / 0.77 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.01701, allocations: 5.531 kB / 0.7701 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01701, allocations: 0 / 0.7701 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01701, allocations: 0 / 0.7701 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.01722, allocations: 161.8 kB / 0.7702 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.01728, allocations: 53.91 kB / 0.7703 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.01732, allocations: 3.984 kB / 0.7703 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.0174, allocations: 12 kB / 0.7703 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.01746, allocations: 23.89 kB / 0.7703 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.01747, allocations: 4 kB / 0.7703 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002246/0.01769, allocations: 228.6 kB / 0.7705 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01769, allocations: 2.438 kB / 0.7705 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002551/0.01795, allocations: 59.89 kB / 0.7706 GB, free: 11.61 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.001464/0.01941, allocations: 0.5167 MB / 0.7711 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.01957, allocations: 82.25 kB / 0.7712 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.01958, allocations: 4 kB / 0.7712 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.01964, allocations: 28.86 kB / 0.7712 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.01992, allocations: 78.67 kB / 0.7713 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.02112, allocations: 0.7428 MB / 0.772 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.02123, allocations: 136.2 kB / 0.7721 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.02133, allocations: 40.83 kB / 0.7722 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.0215, allocations: 112.4 kB / 0.7723 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of SimCode: time 7.42e-07/0.0215, allocations: 0 / 0.7723 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.00995/0.03145, allocations: 4.496 MB / 0.7767 GB, free: 5.781 MB / 0.7292 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.021409126929939]