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.005781/0.005781, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001181/0.001181, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.931/2.931, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.89 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3111, allocations: 151.6 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003716/0.3149, allocations: 2.435 MB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.3172, allocations: 1.518 MB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.3174, allocations: 7.938 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.3181, allocations: 214.9 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003716/0.3185, allocations: 159.2 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.319, allocations: 187.2 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000441/0.3194, allocations: 354.9 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.3197, allocations: 88.69 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.3199, allocations: 147.3 kB / 1.172 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.3201, allocations: 159.3 kB / 1.172 GB, free: 1.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.3202, allocations: 20 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.3204, allocations: 63.91 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.3205, allocations: 123.6 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.3207, allocations: 190.6 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006112/0.3213, allocations: 0.5054 MB / 1.173 GB, free: 0.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3213, allocations: 0 / 1.173 GB, free: 0.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3213, allocations: 0 / 1.173 GB, free: 0.668 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.3214, allocations: 0 / 1.173 GB, free: 0.668 MB / 0.92 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.001242/0.3226, allocations: 0.8315 MB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3226, allocations: 8.031 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.3228, allocations: 68.5 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.3233, allocations: 428.4 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3233, allocations: 8.375 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.3234, allocations: 19.94 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.3237, allocations: 142.3 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3237, allocations: 3.938 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.3237, allocations: 8 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3237, allocations: 4 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.3239, allocations: 79.95 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.3249, allocations: 0.6485 MB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.3253, allocations: 126.7 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3254, allocations: 48.84 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.3255, allocations: 3.984 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.3257, allocations: 115.2 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/0.3257, allocations: 0 / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0004744/0.3262, allocations: 213.2 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3263, allocations: 51.41 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007494/0.327, allocations: 0.6515 MB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.3271, allocations: 29.7 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.3273, allocations: 252.5 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.3274, allocations: 43.69 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.393e-05/0.3275, allocations: 57.69 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3277, allocations: 366.8 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.3278, allocations: 79.91 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.328, allocations: 117.5 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.3282, allocations: 139.8 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3282, allocations: 0 / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000424/0.3287, allocations: 271.7 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3287, allocations: 9.875 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3287, allocations: 0 / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3287, allocations: 0 / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3289, allocations: 43.97 kB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3289, allocations: 3.938 kB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.3291, allocations: 31.91 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.3292, allocations: 8 kB / 1.177 GB, free: 11.57 MB / 0.9356 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.0002306/0.3294, allocations: 205.7 kB / 1.178 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.175e-05/0.3295, allocations: 51.67 kB / 1.178 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.54e-05/0.3296, allocations: 56.66 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3296, allocations: 0 / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3296, allocations: 0 / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3296, allocations: 3.984 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.33, allocations: 381.3 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3301, allocations: 4 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.3301, allocations: 15.92 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3301, allocations: 0 / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3302, allocations: 7.938 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3302, allocations: 0 / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3302, allocations: 0 / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.3306, allocations: 264.6 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.3308, allocations: 128.9 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.3308, allocations: 8 kB / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.331, allocations: 19.97 kB / 1.178 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.3311, allocations: 23.97 kB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.3311, allocations: 4 kB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000458/0.3315, allocations: 430.7 kB / 1.179 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3315, allocations: 0 / 1.179 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003017/0.3318, allocations: 63.89 kB / 1.179 GB, free: 9.84 MB / 0.9356 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.001075/0.3329, allocations: 426.1 kB / 1.179 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.3333, allocations: 155.9 kB / 1.179 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3333, allocations: 0 / 1.179 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.3334, allocations: 55.92 kB / 1.18 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.3339, allocations: 76.28 kB / 1.18 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.3353, allocations: 0.8401 MB / 1.18 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.3357, allocations: 0.8609 MB / 1.181 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000124/0.3358, allocations: 42.22 kB / 1.181 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.3359, allocations: 31.42 kB / 1.181 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.3359, allocations: 4 kB / 1.181 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of Templates: time 0.008858/0.3448, allocations: 4.046 MB / 1.185 GB, free: 3.453 MB / 0.9356 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