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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001168/0.001168, allocations: 114.7 kB / 16.37 MB, free: 5.984 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.001142/0.001142, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002322, allocations: 63.58 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.371, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004035/0.3751, allocations: 2.441 MB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3771, allocations: 1.514 MB / 1.023 GB, free: 5.883 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.3773, allocations: 7.938 kB / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.3779, allocations: 222.8 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.3782, allocations: 151.2 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.3786, allocations: 194.5 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.379, allocations: 346.8 kB / 1.024 GB, free: 4.98 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.3792, allocations: 92.69 kB / 1.024 GB, free: 4.887 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.3794, allocations: 139.4 kB / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.3796, allocations: 151.2 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.3796, allocations: 24 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.3798, allocations: 71.91 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.3799, allocations: 119.6 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.38, allocations: 190.5 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.3805, allocations: 0.5021 MB / 1.025 GB, free: 3.699 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3805, allocations: 0 / 1.025 GB, free: 3.699 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3805, allocations: 0 / 1.025 GB, free: 3.699 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3805, allocations: 0 / 1.025 GB, free: 3.699 MB / 0.795 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.001127/0.3816, allocations: 0.7968 MB / 1.026 GB, free: 2.852 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3817, allocations: 12.92 kB / 1.026 GB, free: 2.84 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.703e-05/0.3818, allocations: 60.19 kB / 1.026 GB, free: 2.781 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.3823, allocations: 431.8 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.3824, allocations: 16.38 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.3824, allocations: 15.94 kB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.3827, allocations: 142.5 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3827, allocations: 0 / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.3827, allocations: 7.938 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3828, allocations: 8 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.3829, allocations: 79.97 kB / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009755/0.3839, allocations: 0.6367 MB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.3843, allocations: 138.6 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.057e-05/0.3844, allocations: 40.84 kB / 1.027 GB, free: 1.176 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.3844, allocations: 12 kB / 1.027 GB, free: 1.164 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.3847, allocations: 99.3 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.3847, allocations: 0 / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0004357/0.3851, allocations: 213.2 kB / 1.027 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3852, allocations: 59.39 kB / 1.027 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/0.3858, allocations: 0.6397 MB / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.3859, allocations: 33.7 kB / 1.028 GB, free: 84 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.3861, allocations: 260.4 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.3861, allocations: 31.55 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.3862, allocations: 57.61 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3864, allocations: 370.8 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3865, allocations: 75.97 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.3867, allocations: 126 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.3869, allocations: 132.7 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3869, allocations: 3.938 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003871/0.3873, allocations: 268.8 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3873, allocations: 4 kB / 1.029 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3873, allocations: 4 kB / 1.029 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3874, allocations: 0 / 1.029 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.3875, allocations: 35.92 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3876, allocations: 12.02 kB / 1.029 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.3877, allocations: 31.81 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.3878, allocations: 8 kB / 1.029 GB, free: 14.65 MB / 0.8106 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.000196/0.388, allocations: 205.7 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.388, allocations: 47.34 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.269e-05/0.3881, allocations: 60.66 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.3881, allocations: 7.984 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3881, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3882, allocations: 0 / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.3885, allocations: 377.3 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3885, allocations: 3.938 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.3886, allocations: 8 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3886, allocations: 0 / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.3886, allocations: 7.984 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3886, allocations: 3.938 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3886, allocations: 4 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.389, allocations: 264.3 kB / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3892, allocations: 124.5 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.3892, allocations: 4 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.3893, allocations: 15.98 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.3894, allocations: 27.91 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.3894, allocations: 7.984 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004259/0.3899, allocations: 430.8 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3899, allocations: 0 / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002833/0.3902, allocations: 63.91 kB / 1.031 GB, free: 12.93 MB / 0.8106 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.001009/0.3912, allocations: 411.2 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.3916, allocations: 162 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3916, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3917, allocations: 59.91 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.3921, allocations: 82.61 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.3933, allocations: 0.8335 MB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.3937, allocations: 0.8572 MB / 1.033 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.3939, allocations: 34.28 kB / 1.033 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.3939, allocations: 31.42 kB / 1.033 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3939, allocations: 0 / 1.033 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of Templates: time 0.008457/0.4024, allocations: 4.023 MB / 1.037 GB, free: 6.582 MB / 0.8106 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 -s gbode -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/jenkins1/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