Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.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.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter",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.001089/0.001089, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001328/0.001328, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.516/2.516, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 8 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/0.7151, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002194/0.7173, allocations: 1.465 MB / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.7184, allocations: 0.5499 MB / 0.9831 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.7186, allocations: 7.938 kB / 0.9831 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.785e-05/0.7187, allocations: 11.86 kB / 0.9831 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004067/0.7191, allocations: 70.17 kB / 0.9832 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.7194, allocations: 67.89 kB / 0.9832 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.7197, allocations: 223.3 kB / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.7198, allocations: 28.28 kB / 0.9835 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.7199, allocations: 95.66 kB / 0.9836 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.7202, allocations: 123.5 kB / 0.9837 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.7202, allocations: 8 kB / 0.9837 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.81e-05/0.7202, allocations: 8 kB / 0.9837 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.011e-05/0.7203, allocations: 59.75 kB / 0.9838 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.7204, allocations: 53.58 kB / 0.9838 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.7206, allocations: 157.9 kB / 0.984 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7206, allocations: 0 / 0.984 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7206, allocations: 4 kB / 0.984 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.7206, allocations: 0 / 0.984 GB, free: 3.316 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009249/0.7215, allocations: 0.51 MB / 0.9845 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.7216, allocations: 8.031 kB / 0.9845 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.7216, allocations: 46.48 kB / 0.9845 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.7217, allocations: 23.72 kB / 0.9845 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.7221, allocations: 265.7 kB / 0.9848 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.7221, allocations: 4 kB / 0.9848 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.7221, allocations: 23.92 kB / 0.9848 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.7224, allocations: 146.1 kB / 0.985 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7225, allocations: 4 kB / 0.985 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.7225, allocations: 4 kB / 0.985 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.7225, allocations: 12.22 kB / 0.985 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.7228, allocations: 144.6 kB / 0.9851 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008795/0.7237, allocations: 0.5521 MB / 0.9857 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.724, allocations: 180.4 kB / 0.9858 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.7242, allocations: 76.75 kB / 0.9859 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.7242, allocations: 3.938 kB / 0.9859 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.7243, allocations: 38.56 kB / 0.9859 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.7243, allocations: 0 / 0.9859 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0005408/0.7248, allocations: 257.9 kB / 0.9862 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.7249, allocations: 51.41 kB / 0.9862 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.7252, allocations: 241 kB / 0.9865 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.7252, allocations: 33.7 kB / 0.9865 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/0.7253, allocations: 128.6 kB / 0.9866 GB, free: 400 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/0.7254, allocations: 70.98 kB / 0.9867 GB, free: 328 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.7254, allocations: 8 kB / 0.9867 GB, free: 320 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7256, allocations: 342.8 kB / 0.987 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.7258, allocations: 83.89 kB / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.7259, allocations: 81.42 kB / 0.9872 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.7261, allocations: 97.92 kB / 0.9873 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7261, allocations: 0 / 0.9873 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004133/0.7266, allocations: 253.3 kB / 0.9875 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.7266, allocations: 9.719 kB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7266, allocations: 0 / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7266, allocations: 0 / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.7269, allocations: 67.89 kB / 0.9876 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.727, allocations: 3.938 kB / 0.9876 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.7271, allocations: 23.83 kB / 0.9876 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.7272, allocations: 8 kB / 0.9876 GB, free: 15.35 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001261/0.7273, allocations: 150.4 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.7273, allocations: 19.72 kB / 0.9878 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/0.7274, allocations: 38.16 kB / 0.9878 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.7274, allocations: 0 / 0.9878 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7274, allocations: 0 / 0.9878 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7274, allocations: 0 / 0.9878 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.7278, allocations: 297.4 kB / 0.9881 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7278, allocations: 0 / 0.9881 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.728, allocations: 39.97 kB / 0.9882 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.728, allocations: 4 kB / 0.9882 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.7281, allocations: 11.94 kB / 0.9882 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7281, allocations: 0 / 0.9882 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7281, allocations: 7.984 kB / 0.9882 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.7286, allocations: 387.2 kB / 0.9885 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.7287, allocations: 116.8 kB / 0.9887 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.7288, allocations: 8 kB / 0.9887 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.729, allocations: 11.98 kB / 0.9887 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.729, allocations: 15.89 kB / 0.9887 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.7291, allocations: 4 kB / 0.9887 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002552/0.7293, allocations: 180.5 kB / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7293, allocations: 0 / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002919/0.7296, allocations: 48 kB / 0.9889 GB, free: 13.95 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (act_1.s[1],act_1.s[2],act_2.s[1],act_2.s[2],act_y_start05.s[1],act_y_start05.s[2],act_y_start1.s[1],act_y_start1.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0008039/0.7304, allocations: 0.9163 MB / 0.9898 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.7308, allocations: 183.8 kB / 0.99 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7308, allocations: 0 / 0.99 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.731, allocations: 82.25 kB / 0.9901 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.7314, allocations: 42.73 kB / 0.9901 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.7345, allocations: 1.625 MB / 0.9917 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.7349, allocations: 0.7596 MB / 0.9924 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.7351, allocations: 45.5 kB / 0.9925 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.7352, allocations: 63.42 kB / 0.9925 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of SimCode: time 9.12e-07/0.7352, allocations: 3.938 kB / 0.9925 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.752, allocations: 4.377 MB / 0.9968 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.7522, allocations: 189.2 kB / 0.997 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.677, allocations: 1.828 kB / 0.997 GB, free: 5.668 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat does not exist to compare? outputFormat=mat