Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.284/2.284, allocations: 390.5 MB / 398 MB, free: 10.94 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.001188/0.001188, allocations: 188.8 kB / 491.2 MB, free: 1.555 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.481/1.481, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009591/0.0009591, allocations: 91.64 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.244e-05/2.226e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2709, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9256/1.197, allocations: 157.6 MB / 1.366 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/1.197, allocations: 91.31 kB / 1.366 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03168/1.228, allocations: 14.1 MB / 1.38 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.053e-06/1.229, allocations: 0 / 1.38 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.592e-05/1.229, allocations: 11.47 kB / 1.38 GB, free: 31.62 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.0009492/1.23, allocations: 0.742 MB / 1.381 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.23, allocations: 7.688 kB / 1.381 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/1.23, allocations: 73.89 kB / 1.381 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006782/1.23, allocations: 486.6 kB / 1.381 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/1.23, allocations: 15.67 kB / 1.381 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/1.23, allocations: 11.69 kB / 1.381 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002331/1.231, allocations: 127.1 kB / 1.382 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/1.231, allocations: 170.4 kB / 1.382 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/1.231, allocations: 3.812 kB / 1.382 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/1.231, allocations: 3.984 kB / 1.382 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.231, allocations: 3.906 kB / 1.382 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/1.232, allocations: 0.8362 MB / 1.383 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/1.232, allocations: 167.1 kB / 1.383 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/1.233, allocations: 64.17 kB / 1.383 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/1.233, allocations: 15.73 kB / 1.383 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/1.233, allocations: 140 kB / 1.383 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/1.233, allocations: 0 / 1.383 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003119/1.233, allocations: 206.1 kB / 1.383 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/1.233, allocations: 80.8 kB / 1.383 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/1.234, allocations: 0.585 MB / 1.384 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/1.234, allocations: 32.61 kB / 1.384 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/1.234, allocations: 281.9 kB / 1.384 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/1.234, allocations: 53.45 kB / 1.384 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/1.234, allocations: 0 / 1.384 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.234, allocations: 375.4 kB / 1.384 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/1.234, allocations: 101.9 kB / 1.385 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/1.234, allocations: 154.5 kB / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/1.235, allocations: 111.4 kB / 1.385 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/1.235, allocations: 0 / 1.385 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004356/1.235, allocations: 334.3 kB / 1.385 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.973e-05/1.235, allocations: 185.4 kB / 1.385 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.235, allocations: 0 / 1.385 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.235, allocations: 3.875 kB / 1.385 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/1.235, allocations: 54.19 kB / 1.385 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/1.236, allocations: 11.92 kB / 1.385 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/1.236, allocations: 50.36 kB / 1.385 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/1.236, allocations: 10.97 kB / 1.385 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/1.236, allocations: 5.062 kB / 1.385 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003686/1.236, allocations: 236.1 kB / 1.386 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-06/1.236, allocations: 3.812 kB / 1.386 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-06/1.236, allocations: 0 / 1.386 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/1.236, allocations: 54.66 kB / 1.386 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/1.236, allocations: 3.75 kB / 1.386 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/1.237, allocations: 34.97 kB / 1.386 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/1.237, allocations: 11.5 kB / 1.386 GB, free: 28.63 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.0001143/1.237, allocations: 117.4 kB / 1.386 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000242/1.237, allocations: 212.7 kB / 1.386 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/1.237, allocations: 58.19 kB / 1.386 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/1.237, allocations: 212.5 kB / 1.386 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.237, allocations: 3.688 kB / 1.386 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.237, allocations: 0 / 1.386 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.237, allocations: 0 / 1.386 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/1.238, allocations: 408.9 kB / 1.387 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.238, allocations: 7.844 kB / 1.387 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/1.238, allocations: 31.3 kB / 1.387 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.238, allocations: 0 / 1.387 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/1.238, allocations: 7.922 kB / 1.387 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.238, allocations: 3.875 kB / 1.387 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.238, allocations: 0 / 1.387 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/1.238, allocations: 315.8 kB / 1.387 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-05/1.238, allocations: 134.8 kB / 1.387 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/1.239, allocations: 11.2 kB / 1.387 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/1.239, allocations: 30.91 kB / 1.387 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/1.239, allocations: 22.72 kB / 1.387 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/1.239, allocations: 14.77 kB / 1.387 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003776/1.239, allocations: 429.4 kB / 1.388 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.239, allocations: 0 / 1.388 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004629/1.24, allocations: 150.7 kB / 1.388 GB, free: 27.61 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.001392/1.241, allocations: 1.151 MB / 1.389 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004195/1.241, allocations: 338 kB / 1.389 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.241, allocations: 0 / 1.389 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.982e-05/1.242, allocations: 81.2 kB / 1.389 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/1.242, allocations: 75.59 kB / 1.389 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/1.243, allocations: 0.831 MB / 1.39 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/1.244, allocations: 0.8984 MB / 1.391 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004089/1.244, allocations: 158.2 kB / 1.391 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/1.244, allocations: 189.4 kB / 1.391 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/1.244, allocations: 0 / 1.391 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/1.273, allocations: 11.07 MB / 1.402 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/1.273, allocations: 183.5 kB / 1.402 GB, free: 19.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/3.56, allocations: 4 kB / 1.402 GB, free: 19.5 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat does not exist to compare? outputFormat=mat