Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001063/0.001063, allocations: 113.6 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.001031/0.001031, allocations: 191.2 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.553/2.553, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 65.42 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3223, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004943/0.3273, allocations: 2.444 MB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.33, allocations: 1.51 MB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.3302, allocations: 7.938 kB / 1.031 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007882/0.331, allocations: 227.3 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.3315, allocations: 155.2 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.3319, allocations: 190.7 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.3323, allocations: 342.9 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.3326, allocations: 96.69 kB / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.3328, allocations: 143.3 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.3329, allocations: 147.3 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/0.333, allocations: 24 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.3332, allocations: 71.89 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3334, allocations: 119.6 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.3335, allocations: 198.5 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004961/0.334, allocations: 0.4943 MB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.334, allocations: 0 / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.643e-06/0.334, allocations: 0 / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3341, allocations: 0 / 1.033 GB, free: 11.89 MB / 0.8106 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.001164/0.3352, allocations: 0.8084 MB / 1.034 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3353, allocations: 8.75 kB / 1.034 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.141e-05/0.3354, allocations: 60.19 kB / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.3359, allocations: 427.8 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3359, allocations: 12.36 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.336, allocations: 19.94 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.3362, allocations: 135 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3363, allocations: 0 / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.3363, allocations: 8 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3363, allocations: 0 / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.3365, allocations: 83.95 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.3375, allocations: 0.6445 MB / 1.035 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.3379, allocations: 130.7 kB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.515e-05/0.338, allocations: 48.84 kB / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.338, allocations: 0 / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.3382, allocations: 111.2 kB / 1.035 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.3382, allocations: 0 / 1.035 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0004325/0.3387, allocations: 209 kB / 1.035 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.3388, allocations: 51.41 kB / 1.035 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007946/0.3396, allocations: 0.6475 MB / 1.036 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3396, allocations: 33.7 kB / 1.036 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.3398, allocations: 256.4 kB / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.3399, allocations: 35.53 kB / 1.036 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/0.34, allocations: 61.61 kB / 1.036 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3401, allocations: 370.8 kB / 1.037 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.3403, allocations: 79.91 kB / 1.037 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.3404, allocations: 117.3 kB / 1.037 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.3406, allocations: 127.3 kB / 1.037 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3407, allocations: 8.016 kB / 1.037 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003959/0.3411, allocations: 271 kB / 1.037 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3411, allocations: 10.97 kB / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3411, allocations: 0 / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3411, allocations: 0 / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3413, allocations: 39.92 kB / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3413, allocations: 0 / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.3415, allocations: 31.81 kB / 1.037 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.3415, allocations: 4 kB / 1.037 GB, free: 6.859 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.0002417/0.3418, allocations: 214.5 kB / 1.038 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.3418, allocations: 51.34 kB / 1.038 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.056e-05/0.3419, allocations: 56.66 kB / 1.038 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3419, allocations: 0 / 1.038 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3419, allocations: 0 / 1.038 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3419, allocations: 3.938 kB / 1.038 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.3423, allocations: 377.3 kB / 1.038 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3423, allocations: 0 / 1.038 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.3424, allocations: 12 kB / 1.038 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3424, allocations: 7.938 kB / 1.038 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.3424, allocations: 3.984 kB / 1.038 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3424, allocations: 4 kB / 1.038 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3424, allocations: 3.984 kB / 1.038 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.3429, allocations: 260.2 kB / 1.038 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.343, allocations: 132.5 kB / 1.038 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.3431, allocations: 4 kB / 1.038 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.3432, allocations: 23.98 kB / 1.038 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.3433, allocations: 19.97 kB / 1.039 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3433, allocations: 7.984 kB / 1.039 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004356/0.3438, allocations: 422.8 kB / 1.039 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3438, allocations: 0 / 1.039 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002803/0.3441, allocations: 63.92 kB / 1.039 GB, free: 5.133 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.0009571/0.345, allocations: 427.6 kB / 1.039 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.3453, allocations: 155.9 kB / 1.04 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3454, allocations: 0 / 1.04 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.3455, allocations: 55.92 kB / 1.04 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.3459, allocations: 69.53 kB / 1.04 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.3471, allocations: 0.8413 MB / 1.04 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.3476, allocations: 0.8533 MB / 1.041 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.3477, allocations: 46.27 kB / 1.041 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.3478, allocations: 31.38 kB / 1.041 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3478, allocations: 0 / 1.041 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of Templates: time 0.008481/0.3563, allocations: 4.033 MB / 1.045 GB, free: 14.77 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches