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.182/2.182, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001072/0.001072, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.431/1.431, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 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.0009517/0.0009518, allocations: 87.05 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.67e-05/2.68e-05, allocations: 9.734 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.273, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9047/1.178, allocations: 156.8 MB / 1.359 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.178, allocations: 87.95 kB / 1.359 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03264/1.211, allocations: 14.09 MB / 1.373 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.435e-06/1.211, allocations: 0 / 1.373 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.315e-05/1.211, allocations: 11.59 kB / 1.373 GB, free: 32.91 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001025/1.212, allocations: 0.7489 MB / 1.374 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.212, allocations: 7.812 kB / 1.374 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/1.212, allocations: 65.91 kB / 1.374 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007031/1.213, allocations: 483.2 kB / 1.374 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/1.213, allocations: 7.688 kB / 1.374 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/1.213, allocations: 15.5 kB / 1.374 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002389/1.213, allocations: 127.4 kB / 1.374 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/1.213, allocations: 175.9 kB / 1.375 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/1.213, allocations: 0 / 1.375 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/1.213, allocations: 3.844 kB / 1.375 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/1.213, allocations: 7.656 kB / 1.375 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/1.215, allocations: 0.8364 MB / 1.375 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/1.215, allocations: 167 kB / 1.376 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/1.215, allocations: 58.61 kB / 1.376 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/1.215, allocations: 3.141 kB / 1.376 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/1.215, allocations: 149.3 kB / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/1.215, allocations: 0 / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003745/1.216, allocations: 200.9 kB / 1.376 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/1.216, allocations: 83.55 kB / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/1.216, allocations: 0.5858 MB / 1.377 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/1.216, allocations: 25.7 kB / 1.377 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/1.217, allocations: 296.9 kB / 1.377 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/1.217, allocations: 50.38 kB / 1.377 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/1.217, allocations: 3.938 kB / 1.377 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.217, allocations: 374.2 kB / 1.377 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/1.217, allocations: 106.6 kB / 1.377 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/1.217, allocations: 152.3 kB / 1.378 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/1.217, allocations: 114.6 kB / 1.378 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.217, allocations: 3.906 kB / 1.378 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004453/1.218, allocations: 335.7 kB / 1.378 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.391e-05/1.218, allocations: 177.6 kB / 1.378 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.218, allocations: 7.906 kB / 1.378 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.218, allocations: 0 / 1.378 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/1.218, allocations: 54.59 kB / 1.378 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.218, allocations: 7.797 kB / 1.378 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/1.219, allocations: 42.94 kB / 1.378 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/1.219, allocations: 19.02 kB / 1.378 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/1.219, allocations: 6.062 kB / 1.378 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003733/1.219, allocations: 236.2 kB / 1.379 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/1.219, allocations: 0 / 1.379 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-06/1.219, allocations: 0 / 1.379 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/1.219, allocations: 50.47 kB / 1.379 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/1.219, allocations: 7.906 kB / 1.379 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/1.219, allocations: 38.88 kB / 1.379 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/1.219, allocations: 10.88 kB / 1.379 GB, free: 30.39 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,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 () * 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.0001127/1.22, allocations: 120.1 kB / 1.379 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002586/1.22, allocations: 206.3 kB / 1.379 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/1.22, allocations: 58.25 kB / 1.379 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/1.22, allocations: 218.4 kB / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.22, allocations: 3.656 kB / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-05/1.22, allocations: 0 / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.22, allocations: 0 / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/1.221, allocations: 402.4 kB / 1.38 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.221, allocations: 0 / 1.38 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/1.221, allocations: 38.5 kB / 1.38 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.221, allocations: 3.875 kB / 1.38 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/1.221, allocations: 3.984 kB / 1.38 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.221, allocations: 0 / 1.38 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.221, allocations: 0 / 1.38 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/1.221, allocations: 322.4 kB / 1.38 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.271e-05/1.221, allocations: 138.6 kB / 1.38 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/1.221, allocations: 3.984 kB / 1.38 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/1.222, allocations: 31.27 kB / 1.38 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/1.222, allocations: 30.92 kB / 1.38 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/1.222, allocations: 7.859 kB / 1.38 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003826/1.222, allocations: 432.6 kB / 1.381 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.222, allocations: 0 / 1.381 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004691/1.223, allocations: 147 kB / 1.381 GB, free: 29.38 MB / 0.8386 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) * 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.001374/1.224, allocations: 1.141 MB / 1.382 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004779/1.224, allocations: 345.2 kB / 1.382 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.224, allocations: 0 / 1.382 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/1.225, allocations: 78.7 kB / 1.382 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/1.225, allocations: 80.67 kB / 1.382 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/1.226, allocations: 0.8323 MB / 1.383 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/1.227, allocations: 0.899 MB / 1.384 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004036/1.227, allocations: 155.3 kB / 1.384 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/1.227, allocations: 183.4 kB / 1.384 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.227, allocations: 0 / 1.384 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/1.258, allocations: 11.07 MB / 1.395 GB, free: 21.97 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.258, allocations: 178 kB / 1.395 GB, free: 21.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/3.57, allocations: 0 / 1.395 GB, free: 21.77 MB / 0.8386 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