Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00154/0.00154, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 193 kB / 16.13 MB, free: 6.652 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.557/1.557, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 67.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7857, allocations: 140.3 MB / 0.9489 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003609/0.7893, allocations: 2.482 MB / 0.9513 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.7913, allocations: 1.48 MB / 0.9528 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.7915, allocations: 3.938 kB / 0.9528 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.7922, allocations: 215.1 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.7925, allocations: 140.2 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.7929, allocations: 170.5 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.7933, allocations: 322.9 kB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.7935, allocations: 85.61 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.7937, allocations: 130.2 kB / 0.9538 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.7938, allocations: 146.9 kB / 0.9539 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.7939, allocations: 9 kB / 0.954 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.794, allocations: 52.36 kB / 0.954 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.7942, allocations: 120.6 kB / 0.9541 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.7943, allocations: 180.6 kB / 0.9543 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.7947, allocations: 490.5 kB / 0.9548 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7947, allocations: 5.312 kB / 0.9548 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.143e-06/0.7947, allocations: 0 / 0.9548 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.7947, allocations: 4 kB / 0.9548 GB, free: 4.793 MB / 0.7169 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.001168/0.7959, allocations: 0.7944 MB / 0.9555 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.796, allocations: 10.31 kB / 0.9556 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.7961, allocations: 58.78 kB / 0.9556 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.7966, allocations: 422.3 kB / 0.956 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.7966, allocations: 21.94 kB / 0.956 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.7966, allocations: 16.81 kB / 0.956 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.7969, allocations: 126.4 kB / 0.9562 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.7969, allocations: 0 / 0.9562 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.797, allocations: 5.688 kB / 0.9562 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.797, allocations: 2.438 kB / 0.9562 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.7972, allocations: 91.98 kB / 0.9563 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009675/0.7981, allocations: 0.64 MB / 0.9569 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.7985, allocations: 144.4 kB / 0.957 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.961e-05/0.7987, allocations: 50.12 kB / 0.9571 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.7987, allocations: 2.625 kB / 0.9571 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.7989, allocations: 104.7 kB / 0.9572 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.7989, allocations: 0 / 0.9572 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.000448/0.7994, allocations: 217 kB / 0.9574 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.7994, allocations: 53.78 kB / 0.9574 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.8001, allocations: 0.6493 MB / 0.9581 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.8002, allocations: 36.39 kB / 0.9581 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.8003, allocations: 256 kB / 0.9583 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.8004, allocations: 37.03 kB / 0.9584 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/0.8005, allocations: 54.31 kB / 0.9584 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.8006, allocations: 371.1 kB / 0.9588 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.8007, allocations: 82.67 kB / 0.9589 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.8009, allocations: 108.3 kB / 0.959 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.8011, allocations: 134.5 kB / 0.9591 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8011, allocations: 0 / 0.9591 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004099/0.8015, allocations: 272.5 kB / 0.9594 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.8015, allocations: 11.28 kB / 0.9594 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8016, allocations: 1.156 kB / 0.9594 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.8016, allocations: 0.875 kB / 0.9594 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.8018, allocations: 41.25 kB / 0.9594 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.8018, allocations: 2.219 kB / 0.9594 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.802, allocations: 23.3 kB / 0.9594 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.802, allocations: 9.922 kB / 0.9594 GB, free: 1.211 MB / 0.7169 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.00018/0.8022, allocations: 210.8 kB / 0.9596 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.8022, allocations: 55.06 kB / 0.9597 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.916e-05/0.8023, allocations: 59.81 kB / 0.9598 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8023, allocations: 2.219 kB / 0.9598 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.8024, allocations: 0 / 0.9598 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.8024, allocations: 3.984 kB / 0.9598 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.8027, allocations: 372.2 kB / 0.9601 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8027, allocations: 4 kB / 0.9601 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/0.8028, allocations: 8.438 kB / 0.9601 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.8028, allocations: 1.188 kB / 0.9601 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.8028, allocations: 5.188 kB / 0.9601 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8028, allocations: 1 kB / 0.9601 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8028, allocations: 0 / 0.9601 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.8032, allocations: 265.3 kB / 0.9604 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.8033, allocations: 135.7 kB / 0.9605 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.8034, allocations: 2.875 kB / 0.9605 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.8035, allocations: 20.05 kB / 0.9605 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.8036, allocations: 20.66 kB / 0.9606 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.8037, allocations: 3.969 kB / 0.9606 GB, free: 308 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000515/0.8042, allocations: 428.7 kB / 0.961 GB, free: 68 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8042, allocations: 0 / 0.961 GB, free: 68 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003368/0.8045, allocations: 68.67 kB / 0.961 GB, free: 48 kB / 0.7169 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.00115/0.8057, allocations: 423.7 kB / 0.9614 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.806, allocations: 161.2 kB / 0.9616 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.8061, allocations: 5.344 kB / 0.9616 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.8062, allocations: 50.7 kB / 0.9616 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.8067, allocations: 77 kB / 0.9617 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.8082, allocations: 0.9584 MB / 0.9627 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.8087, allocations: 0.8493 MB / 0.9635 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.8088, allocations: 47.02 kB / 0.9635 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/0.8089, allocations: 23.72 kB / 0.9636 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.8089, allocations: 4.875 kB / 0.9636 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.009166/0.8181, allocations: 3.747 MB / 0.9672 GB, free: 12.42 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches