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/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.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/Buildings 10.0.0-master/package.mo): time 2.412/2.412, allocations: 393.5 MB / 408.4 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.001344/0.001344, allocations: 171.7 kB / 0.4901 GB, free: 2.238 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.559/1.559, allocations: 223.1 MB / 0.7992 GB, free: 14.59 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.0009679/0.0009677, allocations: 98.09 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003815, allocations: 11.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2795, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1794/0.4589, allocations: 151.2 MB / 1.377 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.4592, allocations: 75.95 kB / 1.377 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.4751, allocations: 4.968 MB / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4752, allocations: 0 / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.018e-05/0.4752, allocations: 8 kB / 1.382 GB, free: 13.09 MB / 0.8855 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.001276/0.4765, allocations: 0.5139 MB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.4766, allocations: 12.56 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.866e-05/0.4767, allocations: 42.55 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.16e-05/0.4768, allocations: 23.72 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.4773, allocations: 269.6 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.4774, allocations: 15.98 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.4774, allocations: 12 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.4778, allocations: 142.2 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4778, allocations: 3.938 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.4778, allocations: 12 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.4779, allocations: 12.22 kB / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.4782, allocations: 120.6 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.4793, allocations: 0.564 MB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.4798, allocations: 242.6 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.4798, allocations: 4.219 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.4799, allocations: 38.73 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.4799, allocations: 4 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22): time 0.0006233/0.4805, allocations: 303.2 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.4805, allocations: 51.41 kB / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.4809, allocations: 220.2 kB / 1.384 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/0.481, allocations: 29.7 kB / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4811, allocations: 136.6 kB / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.4812, allocations: 82.77 kB / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.4812, allocations: 4 kB / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4813, allocations: 338.8 kB / 1.385 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.4815, allocations: 91.94 kB / 1.385 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.4817, allocations: 96.44 kB / 1.385 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.4819, allocations: 113.5 kB / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4819, allocations: 0 / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004622/0.4824, allocations: 289.2 kB / 1.385 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4824, allocations: 6.188 kB / 1.386 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4824, allocations: 0 / 1.386 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4825, allocations: 4 kB / 1.386 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.4829, allocations: 79.89 kB / 1.386 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4829, allocations: 7.953 kB / 1.386 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.4831, allocations: 27.73 kB / 1.386 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.4831, allocations: 8 kB / 1.386 GB, free: 9.008 MB / 0.8855 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 (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.0001187/0.4833, allocations: 137.8 kB / 1.386 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.4833, allocations: 15.81 kB / 1.386 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.257e-05/0.4834, allocations: 34.19 kB / 1.386 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4834, allocations: 7.875 kB / 1.386 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.4834, allocations: 7.984 kB / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4834, allocations: 7.953 kB / 1.386 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.4838, allocations: 309.3 kB / 1.386 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4838, allocations: 0 / 1.386 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.484, allocations: 39.97 kB / 1.386 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.484, allocations: 0 / 1.386 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.4841, allocations: 8 kB / 1.386 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4841, allocations: 0 / 1.386 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4841, allocations: 0 / 1.386 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005921/0.4847, allocations: 420.4 kB / 1.387 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.4848, allocations: 128.7 kB / 1.387 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.4849, allocations: 8 kB / 1.387 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.4851, allocations: 15.98 kB / 1.387 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.4852, allocations: 7.984 kB / 1.387 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.4852, allocations: 8 kB / 1.387 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002598/0.4854, allocations: 184.5 kB / 1.387 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4854, allocations: 0 / 1.387 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002877/0.4857, allocations: 52 kB / 1.387 GB, free: 7.555 MB / 0.8855 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 (22): * Single equations (assignments): 22 * 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.0009099/0.4867, allocations: 0.9569 MB / 1.388 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003901/0.4871, allocations: 207.8 kB / 1.388 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4871, allocations: 0 / 1.388 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.4873, allocations: 100.6 kB / 1.388 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.4876, allocations: 45.2 kB / 1.388 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.4904, allocations: 1.699 MB / 1.39 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.4908, allocations: 0.7677 MB / 1.391 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.4909, allocations: 57.89 kB / 1.391 GB, free: 3.629 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.4911, allocations: 59.42 kB / 1.391 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.4911, allocations: 0 / 1.391 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.5085, allocations: 4.553 MB / 1.395 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.5087, allocations: 189.2 kB / 1.395 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.35, allocations: 0 / 1.395 GB, free: 14.91 MB / 0.9011 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) 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