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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001122/0.001122, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001162/0.001162, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.09 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3099, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003992/0.314, allocations: 2.429 MB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.3163, allocations: 1.507 MB / 0.955 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.3165, allocations: 15.88 kB / 0.955 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006257/0.3171, allocations: 231.4 kB / 0.9552 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.3175, allocations: 155.2 kB / 0.9554 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.3179, allocations: 190.3 kB / 0.9555 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.3183, allocations: 350.9 kB / 0.9559 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.3186, allocations: 92.7 kB / 0.956 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.3187, allocations: 131.4 kB / 0.9561 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.3189, allocations: 159.2 kB / 0.9562 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.319, allocations: 24 kB / 0.9563 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3191, allocations: 55.98 kB / 0.9563 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.3192, allocations: 131.5 kB / 0.9564 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.3194, allocations: 190.6 kB / 0.9566 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005052/0.3199, allocations: 0.502 MB / 0.9571 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3199, allocations: 4 kB / 0.9571 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3199, allocations: 0 / 0.9571 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.32, allocations: 0 / 0.9571 GB, free: 1.875 MB / 0.7325 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.001154/0.3211, allocations: 0.7939 MB / 0.9579 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3212, allocations: 16.03 kB / 0.9579 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.3213, allocations: 64.12 kB / 0.958 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.3218, allocations: 411.9 kB / 0.9584 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.3218, allocations: 16.36 kB / 0.9584 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.3219, allocations: 15.94 kB / 0.9584 GB, free: 488 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.3221, allocations: 137.5 kB / 0.9585 GB, free: 344 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3222, allocations: 3.938 kB / 0.9585 GB, free: 340 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.3222, allocations: 4 kB / 0.9585 GB, free: 336 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3222, allocations: 8 kB / 0.9585 GB, free: 328 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.3224, allocations: 83.95 kB / 0.9586 GB, free: 244 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000966/0.3233, allocations: 0.6328 MB / 0.9592 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.3237, allocations: 142.5 kB / 0.9594 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.939e-05/0.3238, allocations: 48.88 kB / 0.9594 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.3239, allocations: 4 kB / 0.9594 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.3241, allocations: 99.36 kB / 0.9595 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.522e-06/0.3241, allocations: 0 / 0.9595 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.0004387/0.3245, allocations: 216.9 kB / 0.9597 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.3246, allocations: 55.41 kB / 0.9598 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006627/0.3252, allocations: 0.6436 MB / 0.9604 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3253, allocations: 33.7 kB / 0.9604 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.3255, allocations: 260.4 kB / 0.9607 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.3255, allocations: 31.56 kB / 0.9607 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.3256, allocations: 57.59 kB / 0.9608 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3257, allocations: 370.7 kB / 0.9611 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.3259, allocations: 83.95 kB / 0.9612 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.3261, allocations: 117.4 kB / 0.9613 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.3263, allocations: 132.2 kB / 0.9614 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3263, allocations: 0 / 0.9614 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003914/0.3267, allocations: 264.8 kB / 0.9617 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3267, allocations: 8.062 kB / 0.9617 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3267, allocations: 7.984 kB / 0.9617 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3267, allocations: 0 / 0.9617 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.3269, allocations: 35.98 kB / 0.9617 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.3269, allocations: 4 kB / 0.9617 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3271, allocations: 23.83 kB / 0.9618 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.3272, allocations: 15.92 kB / 0.9618 GB, free: 12.84 MB / 0.7481 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.0001984/0.3274, allocations: 210.2 kB / 0.962 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.3274, allocations: 55.34 kB / 0.962 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.662e-05/0.3275, allocations: 56.66 kB / 0.9621 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3275, allocations: 7.984 kB / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3275, allocations: 4 kB / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3276, allocations: 0 / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.3279, allocations: 373.3 kB / 0.9625 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3279, allocations: 4 kB / 0.9625 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.328, allocations: 11.94 kB / 0.9625 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.328, allocations: 4 kB / 0.9625 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.328, allocations: 4 kB / 0.9625 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.328, allocations: 0 / 0.9625 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.328, allocations: 3.984 kB / 0.9625 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.3284, allocations: 264.7 kB / 0.9627 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3286, allocations: 124.5 kB / 0.9629 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.3286, allocations: 4 kB / 0.9629 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.3288, allocations: 11.98 kB / 0.9629 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3288, allocations: 28.03 kB / 0.9629 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3289, allocations: 8 kB / 0.9629 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004403/0.3293, allocations: 426.8 kB / 0.9633 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3293, allocations: 0 / 0.9633 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002831/0.3296, allocations: 67.83 kB / 0.9634 GB, free: 11.11 MB / 0.7481 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.00096/0.3306, allocations: 428 kB / 0.9638 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.3309, allocations: 165.7 kB / 0.9639 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3309, allocations: 4 kB / 0.9639 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.331, allocations: 47.98 kB / 0.964 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.3315, allocations: 76.44 kB / 0.9641 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.3327, allocations: 0.826 MB / 0.9649 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.3331, allocations: 0.8609 MB / 0.9657 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000114/0.3333, allocations: 46.19 kB / 0.9658 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.3333, allocations: 35.42 kB / 0.9658 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of SimCode: time 3.6e-07/0.3333, allocations: 0 / 0.9658 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of Templates: time 0.008515/0.3419, allocations: 4.021 MB / 0.9697 GB, free: 4.75 MB / 0.7481 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 -s gbode -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/jenkins1/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