Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001615, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002351/0.002351, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.785/2.785, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7768/0.7781, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004346/0.7825, allocations: 2.434 MB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.785, allocations: 1.518 MB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.7852, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.7859, allocations: 216.9 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.7863, allocations: 159.2 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.7869, allocations: 188.7 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000473/0.7874, allocations: 350.9 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.7876, allocations: 80.72 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.7879, allocations: 139.4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.7881, allocations: 155.2 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.7881, allocations: 24 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.7883, allocations: 67.97 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.7885, allocations: 123.5 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.7886, allocations: 194.6 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005027/0.7891, allocations: 0.4981 MB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7892, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7892, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.7892, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 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.001078/0.7903, allocations: 0.7968 MB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.7903, allocations: 12.03 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.3e-05/0.7904, allocations: 64.11 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.7909, allocations: 415.9 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.7909, allocations: 8.375 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.7909, allocations: 19.94 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.7912, allocations: 138.7 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.7912, allocations: 8 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.7912, allocations: 4 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.7913, allocations: 7.938 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.7914, allocations: 76.91 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009348/0.7924, allocations: 0.6406 MB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.7927, allocations: 138.6 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.7928, allocations: 48.84 kB / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.7929, allocations: 4 kB / 1.026 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.7931, allocations: 99.36 kB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.7931, allocations: 0 / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0004449/0.7935, allocations: 221.1 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.7936, allocations: 55.41 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006635/0.7942, allocations: 0.6436 MB / 1.027 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.7943, allocations: 33.7 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.7945, allocations: 264.4 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.7946, allocations: 35.55 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.8e-05/0.7947, allocations: 53.69 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.7948, allocations: 366.8 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.795, allocations: 75.97 kB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.7952, allocations: 124.6 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.7954, allocations: 134.4 kB / 1.028 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.7954, allocations: 0 / 1.028 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004532/0.7959, allocations: 270.9 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.7959, allocations: 6.188 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7959, allocations: 7.938 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7959, allocations: 0 / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.7961, allocations: 36.05 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.7961, allocations: 7.984 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.7963, allocations: 27.83 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.7964, allocations: 8 kB / 1.028 GB, free: 7.316 MB / 0.7794 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.000227/0.7966, allocations: 209.7 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.7967, allocations: 47.34 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.83e-05/0.7968, allocations: 64.66 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7968, allocations: 4 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.7968, allocations: 0 / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7968, allocations: 4 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.7972, allocations: 377.3 kB / 1.029 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7972, allocations: 0 / 1.029 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.7972, allocations: 15.92 kB / 1.029 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.7973, allocations: 0 / 1.029 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.7973, allocations: 4 kB / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7973, allocations: 0 / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7973, allocations: 7.938 kB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.7977, allocations: 261.2 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.7979, allocations: 128.4 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.7979, allocations: 4 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.7981, allocations: 11.98 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.7981, allocations: 23.97 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.7982, allocations: 11.98 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004701/0.7986, allocations: 430.8 kB / 1.029 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7986, allocations: 0 / 1.029 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002961/0.7989, allocations: 59.91 kB / 1.03 GB, free: 5.594 MB / 0.7794 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 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * 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.001006/0.8, allocations: 414.4 kB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.8003, allocations: 163.8 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8003, allocations: 3.938 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.8005, allocations: 59.97 kB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.8009, allocations: 77.95 kB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.8023, allocations: 0.853 MB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.8027, allocations: 0.8571 MB / 1.032 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.8029, allocations: 38.27 kB / 1.032 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.8029, allocations: 31.42 kB / 1.032 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8029, allocations: 0 / 1.032 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of Templates: time 0.01086/0.8138, allocations: 4.022 MB / 1.036 GB, free: 15.23 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches