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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 184.8 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 98.03 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.101e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2597, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8989/1.159, allocations: 155.4 MB / 1.358 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/1.159, allocations: 90.55 kB / 1.358 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0301/1.189, allocations: 12.68 MB / 1.37 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.189, allocations: 0 / 1.37 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.112e-05/1.189, allocations: 7.625 kB / 1.37 GB, free: 32.61 MB / 0.8386 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.000849/1.19, allocations: 0.6736 MB / 1.371 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/1.19, allocations: 7.781 kB / 1.371 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.017e-05/1.19, allocations: 58.16 kB / 1.371 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/1.191, allocations: 423.2 kB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/1.191, allocations: 3.844 kB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/1.191, allocations: 7.75 kB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001538/1.191, allocations: 78.11 kB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/1.191, allocations: 114.2 kB / 1.372 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.191, allocations: 0 / 1.372 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/1.191, allocations: 3.875 kB / 1.372 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/1.191, allocations: 0 / 1.372 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/1.192, allocations: 0.6258 MB / 1.372 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/1.192, allocations: 119 kB / 1.372 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/1.192, allocations: 41.69 kB / 1.372 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/1.192, allocations: 11.8 kB / 1.372 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/1.193, allocations: 95.47 kB / 1.372 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/1.193, allocations: 0 / 1.372 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002781/1.193, allocations: 158.4 kB / 1.373 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/1.193, allocations: 55.22 kB / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005205/1.193, allocations: 0.5392 MB / 1.373 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/1.193, allocations: 33.45 kB / 1.373 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/1.194, allocations: 260.4 kB / 1.373 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/1.194, allocations: 40.47 kB / 1.374 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/1.194, allocations: 3.938 kB / 1.374 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.194, allocations: 368.4 kB / 1.374 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.855e-05/1.194, allocations: 78.75 kB / 1.374 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/1.194, allocations: 117.3 kB / 1.374 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/1.194, allocations: 99.31 kB / 1.374 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.194, allocations: 4.031 kB / 1.374 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003647/1.195, allocations: 275.2 kB / 1.374 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.195, allocations: 3.969 kB / 1.374 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.195, allocations: 3.938 kB / 1.374 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.195, allocations: 0 / 1.374 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/1.195, allocations: 40.08 kB / 1.374 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/1.195, allocations: 0 / 1.374 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/1.195, allocations: 35.98 kB / 1.374 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/1.195, allocations: 14.39 kB / 1.375 GB, free: 30.59 MB / 0.8386 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 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.07e-05/1.195, allocations: 121.2 kB / 1.375 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000175/1.195, allocations: 156.7 kB / 1.375 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/1.195, allocations: 54.25 kB / 1.375 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/1.196, allocations: 177.1 kB / 1.375 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.196, allocations: 3.906 kB / 1.375 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.196, allocations: 4 kB / 1.375 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.196, allocations: 0 / 1.375 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/1.196, allocations: 340 kB / 1.375 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.196, allocations: 0 / 1.375 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/1.196, allocations: 10.91 kB / 1.375 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.196, allocations: 7.812 kB / 1.375 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/1.196, allocations: 0 / 1.375 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.196, allocations: 2.812 kB / 1.375 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.196, allocations: 0 / 1.375 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/1.196, allocations: 252.1 kB / 1.376 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.091e-05/1.197, allocations: 133.8 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/1.197, allocations: 7.656 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/1.197, allocations: 14.08 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/1.197, allocations: 24 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/1.197, allocations: 3.969 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003785/1.197, allocations: 399.7 kB / 1.376 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.197, allocations: 0 / 1.376 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003148/1.198, allocations: 73.03 kB / 1.376 GB, free: 29.82 MB / 0.8386 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.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/1.199, allocations: 1.077 MB / 1.377 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000224/1.199, allocations: 148.6 kB / 1.377 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.199, allocations: 0 / 1.377 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/1.199, allocations: 57.73 kB / 1.377 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/1.2, allocations: 60.81 kB / 1.378 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/1.201, allocations: 0.7124 MB / 1.378 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/1.201, allocations: 0.8602 MB / 1.379 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001234/1.201, allocations: 45.28 kB / 1.379 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/1.201, allocations: 158.9 kB / 1.379 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.201, allocations: 0 / 1.379 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/1.23, allocations: 8.539 MB / 1.388 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/1.23, allocations: 173.5 kB / 1.388 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/3.48, allocations: 0 / 1.388 GB, free: 24.26 MB / 0.8386 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat does not exist to compare? outputFormat=mat