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.506/2.506, allocations: 390.5 MB / 398 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.001172/0.001172, allocations: 184.9 kB / 491.2 MB, free: 1.555 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.434/1.434, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009091/0.0009091, allocations: 91.94 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.755e-05/1.766e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2684, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9836/1.252, allocations: 150.5 MB / 1.359 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/1.252, allocations: 73.3 kB / 1.359 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01484/1.267, allocations: 4.926 MB / 1.364 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.993e-06/1.267, allocations: 0 / 1.364 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.971e-05/1.267, allocations: 3.875 kB / 1.364 GB, free: 32.64 MB / 0.8386 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.0006961/1.268, allocations: 480.5 kB / 1.365 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.268, allocations: 7.688 kB / 1.365 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/1.268, allocations: 23.41 kB / 1.365 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/1.268, allocations: 266.3 kB / 1.365 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/1.268, allocations: 3.906 kB / 1.365 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/1.268, allocations: 7.719 kB / 1.365 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001765/1.269, allocations: 89.58 kB / 1.365 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/1.269, allocations: 124.4 kB / 1.365 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.269, allocations: 4 kB / 1.365 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/1.269, allocations: 0 / 1.365 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/1.269, allocations: 13.33 kB / 1.365 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008094/1.27, allocations: 0.5164 MB / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/1.27, allocations: 227.6 kB / 1.366 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.632e-05/1.27, allocations: 74.98 kB / 1.366 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/1.27, allocations: 3.906 kB / 1.366 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/1.27, allocations: 34.06 kB / 1.366 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/1.27, allocations: 0.75 kB / 1.366 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0003452/1.271, allocations: 199.9 kB / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/1.271, allocations: 59.23 kB / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/1.271, allocations: 204.9 kB / 1.366 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/1.271, allocations: 29.02 kB / 1.367 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/1.271, allocations: 126.7 kB / 1.367 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/1.271, allocations: 82.02 kB / 1.367 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/1.271, allocations: 0 / 1.367 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/1.271, allocations: 337.2 kB / 1.367 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/1.271, allocations: 84.78 kB / 1.367 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/1.271, allocations: 77.48 kB / 1.367 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/1.271, allocations: 103.4 kB / 1.367 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.271, allocations: 0 / 1.367 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003045/1.272, allocations: 253.2 kB / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.272, allocations: 3.844 kB / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/1.272, allocations: 4 kB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/1.272, allocations: 0 / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/1.272, allocations: 83.05 kB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/1.272, allocations: 4 kB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/1.272, allocations: 29.77 kB / 1.368 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/1.272, allocations: 3.906 kB / 1.368 GB, free: 30.82 MB / 0.8386 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 () * 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 7.579e-05/1.273, allocations: 104.9 kB / 1.368 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002629/1.273, allocations: 194 kB / 1.368 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/1.273, allocations: 23.22 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/1.273, allocations: 27.02 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/1.273, allocations: 3.969 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.273, allocations: 10.67 kB / 1.368 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.273, allocations: 0 / 1.368 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/1.273, allocations: 276.3 kB / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.273, allocations: 0 / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/1.274, allocations: 47.86 kB / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.274, allocations: 0 / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/1.274, allocations: 6.234 kB / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.274, allocations: 0 / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.274, allocations: 0 / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/1.274, allocations: 378.4 kB / 1.369 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/1.274, allocations: 122.6 kB / 1.369 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/1.274, allocations: 11.72 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/1.274, allocations: 9.547 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/1.274, allocations: 10.41 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.274, allocations: 3.875 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001261/1.275, allocations: 163.8 kB / 1.369 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.275, allocations: 4 kB / 1.369 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002877/1.275, allocations: 46.22 kB / 1.369 GB, free: 30.13 MB / 0.8386 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 () * 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.0006299/1.275, allocations: 0.9071 MB / 1.37 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002607/1.276, allocations: 184.4 kB / 1.37 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.276, allocations: 0 / 1.37 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/1.276, allocations: 90.03 kB / 1.37 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/1.276, allocations: 36.84 kB / 1.37 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/1.277, allocations: 0.5522 MB / 1.371 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/1.278, allocations: 0.7638 MB / 1.371 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001527/1.278, allocations: 60.42 kB / 1.372 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/1.278, allocations: 63.53 kB / 1.372 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of SimCode: time 4.2e-07/1.278, allocations: 7.938 kB / 1.372 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/1.303, allocations: 4.05 MB / 1.376 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/1.303, allocations: 142.6 kB / 1.376 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/3.138, allocations: 0 / 1.376 GB, free: 28.08 MB / 0.8386 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