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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002493/0.002493, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.443/2.443, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.557/4.557, allocations: 409.2 MB / 0.6838 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 12 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5/1.501, allocations: 146.8 MB / 0.9809 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.005438/1.507, allocations: 2.253 MB / 0.9831 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004661/1.512, allocations: 1.521 MB / 0.9846 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004597/1.512, allocations: 7.938 kB / 0.9846 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/1.513, allocations: 207.1 kB / 0.9848 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007931/1.514, allocations: 159.5 kB / 0.9849 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/1.515, allocations: 178.8 kB / 0.9851 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009115/1.516, allocations: 291.3 kB / 0.9854 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004243/1.517, allocations: 102.2 kB / 0.9855 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004568/1.517, allocations: 155.3 kB / 0.9856 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/1.517, allocations: 151.2 kB / 0.9858 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.794e-05/1.518, allocations: 12 kB / 0.9858 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/1.518, allocations: 43.91 kB / 0.9858 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/1.518, allocations: 119.6 kB / 0.9859 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000176/1.518, allocations: 117.3 kB / 0.986 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009366/1.519, allocations: 0.4988 MB / 0.9865 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.519, allocations: 4 kB / 0.9865 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.487e-06/1.519, allocations: 0 / 0.9865 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.26e-05/1.519, allocations: 0 / 0.9865 GB, free: 0.5234 MB / 0.7325 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.002763/1.522, allocations: 0.8211 MB / 0.9873 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.17e-05/1.522, allocations: 12.03 kB / 0.9873 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/1.522, allocations: 58.47 kB / 0.9874 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/1.523, allocations: 67.16 kB / 0.9875 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/1.524, allocations: 460 kB / 0.9879 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/1.524, allocations: 16.38 kB / 0.9879 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.972e-05/1.524, allocations: 24 kB / 0.9879 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009037/1.525, allocations: 224.5 kB / 0.9881 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.525, allocations: 0 / 0.9881 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/1.525, allocations: 8 kB / 0.9882 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/1.525, allocations: 8 kB / 0.9882 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007793/1.526, allocations: 175.2 kB / 0.9883 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/1.529, allocations: 0.8823 MB / 0.9892 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/1.531, allocations: 354.5 kB / 0.9895 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.009e-05/1.531, allocations: 7.969 kB / 0.9895 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006837/1.532, allocations: 180.9 kB / 0.9897 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 4.419e-06/1.532, allocations: 0 / 0.9897 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.001713/1.534, allocations: 346.6 kB / 0.99 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.534, allocations: 77.11 kB / 0.9901 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/1.536, allocations: 0.7112 MB / 0.9908 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/1.536, allocations: 33.7 kB / 0.9908 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005295/1.536, allocations: 292.3 kB / 0.9911 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/1.537, allocations: 59.22 kB / 0.9912 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/1.537, allocations: 8 kB / 0.9912 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003072/1.537, allocations: 374.7 kB / 0.9915 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/1.537, allocations: 119.9 kB / 0.9917 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/1.538, allocations: 195 kB / 0.9918 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/1.539, allocations: 121.1 kB / 0.992 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.539, allocations: 0 / 0.992 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001483/1.54, allocations: 380.7 kB / 0.9923 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002793/1.54, allocations: 283.2 kB / 0.9926 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.54, allocations: 0 / 0.9926 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.1e-05/1.54, allocations: 7.938 kB / 0.9926 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/1.541, allocations: 51.97 kB / 0.9926 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/1.541, allocations: 4 kB / 0.9926 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/1.542, allocations: 55.8 kB / 0.9927 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.139e-05/1.542, allocations: 12 kB / 0.9927 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/1.542, allocations: 5.406 kB / 0.9927 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00112/1.543, allocations: 263.8 kB / 0.993 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.543, allocations: 0 / 0.993 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/1.543, allocations: 0 / 0.993 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/1.543, allocations: 59.95 kB / 0.993 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.543, allocations: 3.938 kB / 0.993 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/1.544, allocations: 47.88 kB / 0.9931 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/1.544, allocations: 8 kB / 0.9931 GB, free: 9.512 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,filPow.assPow.assMesDP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,filPow.limDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0008113/1.545, allocations: 297 kB / 0.9934 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/1.545, allocations: 59.31 kB / 0.9934 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/1.545, allocations: 65.72 kB / 0.9935 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/1.546, allocations: 4 kB / 0.9935 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.546, allocations: 7.938 kB / 0.9935 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/1.546, allocations: 0 / 0.9935 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/1.547, allocations: 449.1 kB / 0.9939 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.547, allocations: 3.938 kB / 0.9939 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/1.547, allocations: 31.97 kB / 0.994 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/1.547, allocations: 4 kB / 0.994 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/1.547, allocations: 0 / 0.994 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/1.547, allocations: 0 / 0.994 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.547, allocations: 8 kB / 0.994 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/1.549, allocations: 408.9 kB / 0.9944 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/1.549, allocations: 140.3 kB / 0.9945 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/1.549, allocations: 8 kB / 0.9945 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/1.55, allocations: 32.03 kB / 0.9945 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/1.55, allocations: 27.95 kB / 0.9946 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/1.55, allocations: 8 kB / 0.9946 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001451/1.552, allocations: 471 kB / 0.995 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.3e-07/1.552, allocations: 0 / 0.995 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001169/1.553, allocations: 131.7 kB / 0.9951 GB, free: 7.305 MB / 0.7481 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.assMesDP.u,filPow.assPow.maxPow.y,filPow.assPow.minPow.y) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.003902/1.557, allocations: 1.263 MB / 0.9964 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001853/1.559, allocations: 411.6 kB / 0.9968 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.559, allocations: 4.25 kB / 0.9968 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000455/1.559, allocations: 103.9 kB / 0.9969 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/1.56, allocations: 77.05 kB / 0.9969 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/1.565, allocations: 1.786 MB / 0.9987 GB, free: 3.738 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009833/1.566, allocations: 0.8973 MB / 0.9996 GB, free: 2.816 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005065/1.566, allocations: 58.94 kB / 0.9996 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/1.567, allocations: 191.4 kB / 0.9998 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of SimCode: time 1.923e-06/1.567, allocations: 0 / 0.9998 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3261/1.893, allocations: 10.39 MB / 1.01 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005686/1.894, allocations: 231.1 kB / 1.01 GB, free: 8.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.765/5.658, allocations: 4.062 kB / 1.01 GB, free: 8.156 MB / 0.7637 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) Environment - environmentSimulation: 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