Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002519/0.002519, allocations: 211.2 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.772/2.772, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.81 kB / 1.117 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3287, allocations: 170 MB / 1.283 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004186/0.3329, allocations: 2.365 MB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002892/0.3358, allocations: 1.568 MB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.336, allocations: 7.938 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.3366, allocations: 211 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.3371, allocations: 203.1 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.3375, allocations: 159.5 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004497/0.3379, allocations: 362.8 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.3381, allocations: 56.89 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.3383, allocations: 151.3 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.3386, allocations: 147.3 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.913e-05/0.3386, allocations: 24 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.3388, allocations: 71.91 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.3389, allocations: 135.5 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.3391, allocations: 134.9 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006836/0.3398, allocations: 0.5224 MB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3398, allocations: 3.984 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3398, allocations: 0 / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.3398, allocations: 0 / 1.289 GB, free: 6.145 MB / 0.9825 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.001285/0.3411, allocations: 0.7484 MB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3411, allocations: 12.03 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.403e-05/0.3412, allocations: 46.73 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.88e-05/0.3413, allocations: 68.45 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.3419, allocations: 375.4 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.3419, allocations: 12.12 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.3419, allocations: 16 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.3422, allocations: 189.7 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3422, allocations: 0 / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3423, allocations: 4 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3423, allocations: 8 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.3425, allocations: 95.89 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3435, allocations: 0.5541 MB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.3439, allocations: 134.5 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.344, allocations: 44.88 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.344, allocations: 8 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.3442, allocations: 154.7 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.3442, allocations: 0 / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0004575/0.3447, allocations: 209.2 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.3447, allocations: 55.34 kB / 1.291 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/0.3455, allocations: 0.6719 MB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.3455, allocations: 33.69 kB / 1.292 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.3458, allocations: 260.4 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.3458, allocations: 35.73 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/0.3459, allocations: 61.64 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.3461, allocations: 374.7 kB / 1.293 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3462, allocations: 79.97 kB / 1.293 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.3464, allocations: 164.1 kB / 1.293 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.3467, allocations: 132.7 kB / 1.293 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3467, allocations: 0 / 1.293 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004383/0.3471, allocations: 269.1 kB / 1.293 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3472, allocations: 7.984 kB / 1.293 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3472, allocations: 4 kB / 1.293 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3472, allocations: 4.062 kB / 1.293 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.3474, allocations: 39.92 kB / 1.293 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3474, allocations: 0 / 1.293 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.3476, allocations: 23.92 kB / 1.293 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.3476, allocations: 15.97 kB / 1.293 GB, free: 1.043 MB / 0.9825 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.0002305/0.3478, allocations: 205.7 kB / 1.293 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.3479, allocations: 55.62 kB / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.3483, allocations: 190.4 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3483, allocations: 4 kB / 1.294 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3483, allocations: 4 kB / 1.294 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3483, allocations: 0 / 1.294 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.3486, allocations: 328.5 kB / 1.294 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3487, allocations: 0 / 1.294 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.3487, allocations: 11.94 kB / 1.294 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3487, allocations: 0 / 1.294 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.3487, allocations: 4 kB / 1.294 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3487, allocations: 0 / 1.294 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3487, allocations: 3.984 kB / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.3492, allocations: 272.3 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3493, allocations: 63.58 kB / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.3494, allocations: 4 kB / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.3495, allocations: 15.98 kB / 1.294 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.3496, allocations: 23.95 kB / 1.294 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3496, allocations: 4 kB / 1.294 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00051/0.3501, allocations: 443 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3501, allocations: 4 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003272/0.3504, allocations: 63.92 kB / 1.295 GB, free: 15.31 MB / 0.9981 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 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.002337/0.3528, allocations: 1.158 MB / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.3531, allocations: 147.9 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3531, allocations: 0 / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3533, allocations: 51.92 kB / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.3537, allocations: 80.44 kB / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/0.3587, allocations: 3.836 MB / 1.3 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.359, allocations: 262.5 kB / 1.3 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.3592, allocations: 46.95 kB / 1.3 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.3594, allocations: 171.4 kB / 1.3 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of SimCode: time 1.393e-06/0.3594, allocations: 0 / 1.3 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04155/0.4009, allocations: 10.15 MB / 1.31 GB, free: 15.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.99, allocations: 13.41 kB / 1.31 GB, free: 15.58 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.83150287391618]