Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="BuildingSystems_BuildingSystems_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.005851/0.005857, allocations: 101.8 kB / 15.73 MB, free: 6.004 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.001312/0.001312, allocations: 193.6 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002624/0.002624, allocations: 290.1 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.226/1.226, allocations: 178.6 MB / 0.5074 GB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 92.28 kB / 0.6943 GB, free: 15.25 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4466, allocations: 89.13 MB / 0.7813 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002694/0.4493, allocations: 1.795 MB / 0.7831 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.4504, allocations: 0.577 MB / 0.7836 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.112e-05/0.4505, allocations: 9.406 kB / 0.7836 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.4506, allocations: 21.39 kB / 0.7837 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.4509, allocations: 67.27 kB / 0.7837 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.4512, allocations: 84.62 kB / 0.7838 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.4516, allocations: 267.9 kB / 0.7841 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.4517, allocations: 42.33 kB / 0.7841 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.4519, allocations: 107.6 kB / 0.7842 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.4521, allocations: 144.4 kB / 0.7843 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.4522, allocations: 16.91 kB / 0.7844 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.845e-05/0.4522, allocations: 18.59 kB / 0.7844 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.4524, allocations: 64.06 kB / 0.7844 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.4525, allocations: 103.9 kB / 0.7845 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.4528, allocations: 213.8 kB / 0.7847 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4528, allocations: 4 kB / 0.7847 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4528, allocations: 1.5 kB / 0.7847 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.4528, allocations: 0 / 0.7847 GB, free: 14.51 MB / 0.5606 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.001144/0.454, allocations: 0.539 MB / 0.7853 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.454, allocations: 9.5 kB / 0.7853 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.4541, allocations: 46.52 kB / 0.7853 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.4542, allocations: 32.38 kB / 0.7854 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.4547, allocations: 280.6 kB / 0.7856 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.4547, allocations: 9.094 kB / 0.7856 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.4548, allocations: 14.97 kB / 0.7857 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.4551, allocations: 151.9 kB / 0.7858 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4551, allocations: 0 / 0.7858 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.4552, allocations: 5.156 kB / 0.7858 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.4552, allocations: 8.297 kB / 0.7858 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.4555, allocations: 139.4 kB / 0.7859 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.4565, allocations: 0.5484 MB / 0.7865 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.4569, allocations: 175.8 kB / 0.7866 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.457, allocations: 80.2 kB / 0.7867 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.457, allocations: 1.094 kB / 0.7867 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4571, allocations: 36.69 kB / 0.7868 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.4571, allocations: 0 / 0.7868 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0005285/0.4576, allocations: 252.1 kB / 0.787 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.4577, allocations: 52.84 kB / 0.787 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.4581, allocations: 251.9 kB / 0.7873 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.4581, allocations: 30.83 kB / 0.7873 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.4582, allocations: 134.6 kB / 0.7874 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.227e-05/0.4584, allocations: 75.8 kB / 0.7875 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.4584, allocations: 43.86 kB / 0.7876 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4586, allocations: 336.1 kB / 0.7879 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.4588, allocations: 78.36 kB / 0.788 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.459, allocations: 83.44 kB / 0.788 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.4593, allocations: 186.5 kB / 0.7882 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4593, allocations: 0 / 0.7882 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004665/0.4598, allocations: 251.3 kB / 0.7885 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.4598, allocations: 4.188 kB / 0.7885 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4598, allocations: 1.156 kB / 0.7885 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4598, allocations: 4.969 kB / 0.7885 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.4601, allocations: 62.78 kB / 0.7885 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4602, allocations: 1.438 kB / 0.7885 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.4604, allocations: 26.47 kB / 0.7885 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.4604, allocations: 12.88 kB / 0.7886 GB, free: 11.54 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.4605, allocations: 138.5 kB / 0.7887 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.4606, allocations: 22.2 kB / 0.7887 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.4607, allocations: 31.98 kB / 0.7887 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.4607, allocations: 8.938 kB / 0.7888 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4607, allocations: 1.156 kB / 0.7888 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4607, allocations: 0 / 0.7888 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.4611, allocations: 305.9 kB / 0.789 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4611, allocations: 0 / 0.789 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.4613, allocations: 38.48 kB / 0.7891 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4613, allocations: 1.062 kB / 0.7891 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.4613, allocations: 11.36 kB / 0.7891 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.4613, allocations: 5.125 kB / 0.7891 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4613, allocations: 0 / 0.7891 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005718/0.4619, allocations: 379 kB / 0.7895 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.4621, allocations: 122.6 kB / 0.7896 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.4621, allocations: 12.05 kB / 0.7896 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.4623, allocations: 12.36 kB / 0.7896 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.4624, allocations: 9.641 kB / 0.7896 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.4624, allocations: 7.344 kB / 0.7896 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003056/0.4627, allocations: 181.7 kB / 0.7898 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4627, allocations: 0 / 0.7898 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002875/0.463, allocations: 53.55 kB / 0.7898 GB, free: 10.51 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/0.464, allocations: 0.9045 MB / 0.7907 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000382/0.4644, allocations: 174 kB / 0.7909 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4644, allocations: 4 kB / 0.7909 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.4646, allocations: 89.48 kB / 0.791 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.465, allocations: 44.05 kB / 0.791 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.4691, allocations: 2.683 MB / 0.7936 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.4695, allocations: 0.7518 MB / 0.7944 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000193/0.4697, allocations: 54.73 kB / 0.7944 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.4699, allocations: 63.23 kB / 0.7945 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.4699, allocations: 7.875 kB / 0.7945 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.4994, allocations: 4.85 MB / 0.7992 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.598, allocations: 11.23 kB / 0.7992 GB, free: 4.441 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1)