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.486/2.486, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001272/0.001271, allocations: 176 kB / 0.4901 GB, free: 2.234 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.683/1.683, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.001205/0.001205, allocations: 96.27 kB / 0.9396 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.000368, allocations: 11.66 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3112, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2468/0.5582, allocations: 158.3 MB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000391/0.5586, allocations: 95.94 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05396/0.6126, allocations: 14.25 MB / 1.398 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6127, allocations: 4 kB / 1.398 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.374e-05/0.6127, allocations: 12 kB / 1.398 GB, free: 12.58 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.001823/0.6146, allocations: 0.8619 MB / 1.399 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.6146, allocations: 8.562 kB / 1.399 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.97e-05/0.6147, allocations: 54.55 kB / 1.399 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.6149, allocations: 67.16 kB / 1.399 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.616, allocations: 491.9 kB / 1.399 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.616, allocations: 16.38 kB / 1.399 GB, free: 11 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.525e-05/0.6161, allocations: 27.91 kB / 1.399 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.6168, allocations: 228.9 kB / 1.4 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.6168, allocations: 4 kB / 1.4 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.6168, allocations: 8 kB / 1.4 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.6168, allocations: 4 kB / 1.4 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005961/0.6175, allocations: 183.3 kB / 1.4 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.6193, allocations: 0.8862 MB / 1.401 GB, free: 9.609 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/0.6202, allocations: 258.7 kB / 1.401 GB, free: 9.348 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.6202, allocations: 4 kB / 1.401 GB, free: 9.344 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004964/0.6208, allocations: 179.4 kB / 1.401 GB, free: 9.152 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=16): time 2.334e-06/0.6208, allocations: 4 kB / 1.401 GB, free: 9.148 MB / 0.9011 GB Notification: Performance of matching and sorting (n=16): time 0.001215/0.622, allocations: 344.8 kB / 1.401 GB, free: 8.805 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.6221, allocations: 81.11 kB / 1.401 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.6233, allocations: 0.6362 MB / 1.402 GB, free: 8.062 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.6234, allocations: 37.7 kB / 1.402 GB, free: 8.02 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.6237, allocations: 292.3 kB / 1.402 GB, free: 7.73 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.6238, allocations: 47.36 kB / 1.402 GB, free: 7.684 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.6239, allocations: 8 kB / 1.402 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002584/0.6241, allocations: 378.7 kB / 1.403 GB, free: 7.297 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.6246, allocations: 139.9 kB / 1.403 GB, free: 7.16 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.6251, allocations: 188.9 kB / 1.403 GB, free: 6.961 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.6256, allocations: 136.5 kB / 1.403 GB, free: 6.832 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6256, allocations: 0 / 1.403 GB, free: 6.832 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001129/0.6267, allocations: 402.9 kB / 1.404 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.6269, allocations: 178 kB / 1.404 GB, free: 6.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.6269, allocations: 3.938 kB / 1.404 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.6269, allocations: 3.938 kB / 1.404 GB, free: 6.238 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.6274, allocations: 67.92 kB / 1.404 GB, free: 6.172 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.6274, allocations: 7.938 kB / 1.404 GB, free: 6.164 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.6278, allocations: 51.8 kB / 1.404 GB, free: 6.113 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.6279, allocations: 8 kB / 1.404 GB, free: 6.105 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.6279, allocations: 4 kB / 1.404 GB, free: 6.102 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008402/0.6288, allocations: 288.1 kB / 1.404 GB, free: 5.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.6288, allocations: 0 / 1.404 GB, free: 5.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.004e-06/0.6288, allocations: 4 kB / 1.404 GB, free: 5.816 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.6291, allocations: 47.91 kB / 1.404 GB, free: 5.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.6291, allocations: 7.984 kB / 1.404 GB, free: 5.762 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.6295, allocations: 43.91 kB / 1.404 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.6296, allocations: 12.05 kB / 1.404 GB, free: 5.707 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.0004668/0.63, allocations: 308.9 kB / 1.405 GB, free: 5.395 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6302, allocations: 63.25 kB / 1.405 GB, free: 5.332 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009587/0.6311, allocations: 284.5 kB / 1.405 GB, free: 5.043 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.6312, allocations: 8 kB / 1.405 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.6312, allocations: 0 / 1.405 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6312, allocations: 0 / 1.405 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007196/0.6319, allocations: 449.3 kB / 1.405 GB, free: 4.547 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.632, allocations: 0 / 1.405 GB, free: 4.547 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.6322, allocations: 31.97 kB / 1.405 GB, free: 4.516 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.6322, allocations: 0 / 1.405 GB, free: 4.516 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.6323, allocations: 8 kB / 1.405 GB, free: 4.508 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6323, allocations: 0 / 1.405 GB, free: 4.508 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6323, allocations: 4 kB / 1.405 GB, free: 4.504 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.6335, allocations: 419.9 kB / 1.406 GB, free: 4.074 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.6338, allocations: 136.4 kB / 1.406 GB, free: 3.922 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/0.6339, allocations: 4 kB / 1.406 GB, free: 3.918 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.6342, allocations: 40.03 kB / 1.406 GB, free: 3.879 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.6343, allocations: 27.95 kB / 1.406 GB, free: 3.852 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.6344, allocations: 4 kB / 1.406 GB, free: 3.848 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008859/0.6352, allocations: 483 kB / 1.407 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6353, allocations: 0 / 1.407 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000872/0.6361, allocations: 155.7 kB / 1.407 GB, free: 3.227 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.003183/0.6393, allocations: 1.322 MB / 1.408 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.6406, allocations: 407.6 kB / 1.408 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6407, allocations: 0 / 1.408 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.6411, allocations: 113.6 kB / 1.408 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.6418, allocations: 80.05 kB / 1.409 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.645, allocations: 1.646 MB / 1.41 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007071/0.6458, allocations: 0.8935 MB / 1.411 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003496/0.6461, allocations: 62.94 kB / 1.411 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.6465, allocations: 195.4 kB / 1.411 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of SimCode: time 5.6e-06/0.6466, allocations: 3.938 kB / 1.411 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.6839, allocations: 10.93 MB / 1.422 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/0.6842, allocations: 226.1 kB / 1.422 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.103, allocations: 7.938 kB / 1.422 GB, free: 3.594 MB / 0.9167 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