Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.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.FilterPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower",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.312/2.312, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001185/0.001185, allocations: 181 kB / 498.1 MB, free: 5.73 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.537/1.537, allocations: 223.1 MB / 0.7948 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001003, allocations: 100.8 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004182, allocations: 14.67 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3055, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.5028, allocations: 157.5 MB / 1.377 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.5031, allocations: 103.9 kB / 1.377 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03719/0.5403, allocations: 14.25 MB / 1.391 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5404, allocations: 0 / 1.391 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.1e-05/0.5404, allocations: 12 kB / 1.391 GB, free: 13.27 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001758/0.5422, allocations: 0.872 MB / 1.392 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.5423, allocations: 11.97 kB / 1.392 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.447e-05/0.5424, allocations: 54.55 kB / 1.392 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.5425, allocations: 67.16 kB / 1.392 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009649/0.5435, allocations: 476 kB / 1.392 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.5436, allocations: 20.38 kB / 1.392 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.5436, allocations: 24 kB / 1.392 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.5441, allocations: 232.4 kB / 1.392 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.5441, allocations: 0 / 1.392 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.5442, allocations: 12 kB / 1.392 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.5442, allocations: 8 kB / 1.393 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.5446, allocations: 179.3 kB / 1.393 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.5462, allocations: 0.8902 MB / 1.394 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.5468, allocations: 258.7 kB / 1.394 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.5468, allocations: 8 kB / 1.394 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/0.5472, allocations: 167.6 kB / 1.394 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=16): time 3.166e-06/0.5472, allocations: 0 / 1.394 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of matching and sorting (n=16): time 0.0008106/0.548, allocations: 357 kB / 1.394 GB, free: 9.48 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.5481, allocations: 77.11 kB / 1.394 GB, free: 9.387 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008544/0.549, allocations: 0.6401 MB / 1.395 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.549, allocations: 37.7 kB / 1.395 GB, free: 8.699 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.5493, allocations: 284.4 kB / 1.395 GB, free: 8.418 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/0.5494, allocations: 51.34 kB / 1.395 GB, free: 8.367 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.5494, allocations: 8 kB / 1.395 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.5496, allocations: 382.7 kB / 1.396 GB, free: 7.977 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.5499, allocations: 135.9 kB / 1.396 GB, free: 7.844 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.5502, allocations: 185.5 kB / 1.396 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.5505, allocations: 135.9 kB / 1.396 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5506, allocations: 4 kB / 1.396 GB, free: 7.516 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007473/0.5513, allocations: 390.9 kB / 1.397 GB, free: 7.129 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.5514, allocations: 194 kB / 1.397 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.5514, allocations: 4 kB / 1.397 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5515, allocations: 0 / 1.397 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.5517, allocations: 59.92 kB / 1.397 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.5518, allocations: 4 kB / 1.397 GB, free: 6.859 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.5521, allocations: 51.81 kB / 1.397 GB, free: 6.809 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.5521, allocations: 11.98 kB / 1.397 GB, free: 6.797 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5521, allocations: 4.781 kB / 1.397 GB, free: 6.793 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00053/0.5527, allocations: 288 kB / 1.397 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5527, allocations: 3.984 kB / 1.397 GB, free: 6.508 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.5527, allocations: 7.875 kB / 1.397 GB, free: 6.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.5529, allocations: 51.91 kB / 1.397 GB, free: 6.449 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.5529, allocations: 0 / 1.397 GB, free: 6.449 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.5532, allocations: 51.84 kB / 1.397 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.5532, allocations: 12 kB / 1.397 GB, free: 6.387 MB / 0.9011 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,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0003185/0.5535, allocations: 297 kB / 1.398 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.5536, allocations: 59.25 kB / 1.398 GB, free: 6.027 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.5542, allocations: 288.6 kB / 1.398 GB, free: 5.73 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5543, allocations: 48 / 1.398 GB, free: 5.73 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.5543, allocations: 7.984 kB / 1.398 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5543, allocations: 3.938 kB / 1.398 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.5548, allocations: 461.2 kB / 1.398 GB, free: 5.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5548, allocations: 0 / 1.398 GB, free: 5.219 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.555, allocations: 27.98 kB / 1.398 GB, free: 5.191 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.555, allocations: 0 / 1.398 GB, free: 5.191 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.555, allocations: 3.984 kB / 1.398 GB, free: 5.188 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.555, allocations: 4 kB / 1.398 GB, free: 5.184 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.555, allocations: 4 kB / 1.398 GB, free: 5.18 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/0.5558, allocations: 425.3 kB / 1.399 GB, free: 4.746 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.556, allocations: 136.3 kB / 1.399 GB, free: 4.594 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.5561, allocations: 8 kB / 1.399 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.5563, allocations: 40.03 kB / 1.399 GB, free: 4.547 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.5564, allocations: 23.95 kB / 1.399 GB, free: 4.523 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.5564, allocations: 8 kB / 1.399 GB, free: 4.516 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005589/0.557, allocations: 475 kB / 1.399 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.71e-07/0.557, allocations: 4 kB / 1.399 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005458/0.5576, allocations: 155.8 kB / 1.4 GB, free: 3.898 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (filPow.assPow.demRat.x,filPow.dPLim.y) * Number of discrete variables: 7 ($whenCondition1,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,filPow.assPow.maxPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.00219/0.5598, allocations: 1.31 MB / 1.401 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008421/0.5606, allocations: 407.6 kB / 1.401 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5606, allocations: 4 kB / 1.401 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.5609, allocations: 105.1 kB / 1.401 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.5614, allocations: 87.05 kB / 1.401 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.5638, allocations: 1.653 MB / 1.403 GB, free: 432 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4891/1.053, allocations: 0.8908 MB / 1.404 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003863/1.053, allocations: 55.48 kB / 1.404 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/1.054, allocations: 195.3 kB / 1.404 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of SimCode: time 1.182e-06/1.054, allocations: 0 / 1.404 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/1.083, allocations: 10.92 MB / 1.415 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/1.083, allocations: 221.6 kB / 1.415 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/3.262, allocations: 1.031 kB / 1.415 GB, free: 168.4 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat does not exist to compare? outputFormat=mat