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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004878/0.004878, allocations: 100.9 kB / 15.73 MB, free: 6.473 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.001277/0.001278, allocations: 195 kB / 16.67 MB, free: 6.379 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 63.84 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2227, allocations: 140.4 MB / 1.087 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00322/0.2259, allocations: 2.434 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.2279, allocations: 1.514 MB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.228, allocations: 4 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.2285, allocations: 223.3 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.2289, allocations: 159.2 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.2292, allocations: 190.9 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.2296, allocations: 350.9 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.2298, allocations: 88.45 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.2299, allocations: 143.3 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.2301, allocations: 155.2 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.2301, allocations: 20 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.2302, allocations: 63.97 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.2304, allocations: 123.5 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.2305, allocations: 190.6 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.231, allocations: 0.5106 MB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.231, allocations: 4 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.231, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.231, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 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.001024/0.232, allocations: 0.8006 MB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2321, allocations: 8.031 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/0.2321, allocations: 50.67 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/0.2322, allocations: 56.28 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.2327, allocations: 435.8 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2327, allocations: 12.12 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.2327, allocations: 16 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.233, allocations: 137.5 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.233, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.233, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.233, allocations: 4 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.2332, allocations: 87.89 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008937/0.2341, allocations: 0.6368 MB / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.2345, allocations: 138.7 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.906e-05/0.2346, allocations: 44.84 kB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.2346, allocations: 0 / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.2348, allocations: 103.4 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2348, allocations: 0 / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003965/0.2352, allocations: 213.2 kB / 1.096 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.2352, allocations: 59.41 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/0.2359, allocations: 0.6475 MB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.2359, allocations: 29.7 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.2361, allocations: 268.3 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.2361, allocations: 35.55 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.2362, allocations: 53.7 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2363, allocations: 370.7 kB / 1.098 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2365, allocations: 79.97 kB / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.2366, allocations: 115.4 kB / 1.098 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.2368, allocations: 124.7 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2368, allocations: 0 / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003637/0.2372, allocations: 270.7 kB / 1.098 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2372, allocations: 7.984 kB / 1.098 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2372, allocations: 64 / 1.098 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2373, allocations: 8 kB / 1.098 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.2374, allocations: 35.92 kB / 1.098 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2374, allocations: 0 / 1.098 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.2376, allocations: 31.81 kB / 1.098 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.2376, allocations: 8 kB / 1.098 GB, free: 6.699 MB / 0.8575 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.0001808/0.2378, allocations: 210.2 kB / 1.098 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.2379, allocations: 59.33 kB / 1.098 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.109e-05/0.238, allocations: 60.64 kB / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.238, allocations: 0 / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.238, allocations: 3.938 kB / 1.099 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.238, allocations: 0 / 1.099 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.2383, allocations: 385.2 kB / 1.099 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2383, allocations: 0 / 1.099 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.2384, allocations: 8 kB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2384, allocations: 0 / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.2384, allocations: 15.98 kB / 1.099 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2384, allocations: 0 / 1.099 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2384, allocations: 4 kB / 1.099 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.2388, allocations: 260.3 kB / 1.099 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.2389, allocations: 128.5 kB / 1.099 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.239, allocations: 8 kB / 1.099 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.2391, allocations: 11.98 kB / 1.099 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.2392, allocations: 19.97 kB / 1.099 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.2392, allocations: 4.062 kB / 1.099 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003977/0.2396, allocations: 438.8 kB / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2396, allocations: 0 / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002631/0.2398, allocations: 59.92 kB / 1.1 GB, free: 4.965 MB / 0.8575 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.001392/0.2412, allocations: 1.109 MB / 1.101 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.2415, allocations: 155.9 kB / 1.101 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2416, allocations: 0 / 1.101 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.2417, allocations: 63.8 kB / 1.101 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.2421, allocations: 75.02 kB / 1.101 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.2459, allocations: 3.787 MB / 1.105 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.2462, allocations: 0.8572 MB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.2463, allocations: 42.27 kB / 1.106 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.2465, allocations: 159.4 kB / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.2465, allocations: 0 / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.8/2.047, allocations: 9.207 MB / 1.115 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.917/10.96, allocations: 22.55 kB / 1.115 GB, free: 5.625 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > 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