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: translateModel(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act_1.y|act_2.y|act_y_start1.y|act_y_start05.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter") translateModel(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act_1.y|act_2.y|act_y_start1.y|act_y_start05.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.331/2.331, allocations: 390.5 MB / 398 MB, free: 11.04 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.001129/0.001129, allocations: 180.6 kB / 491.2 MB, free: 1.621 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.601/1.601, 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.001007/0.001007, allocations: 91.95 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.966e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2929, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.357, allocations: 150.5 MB / 1.359 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.357, allocations: 74.95 kB / 1.359 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01567/1.373, allocations: 4.931 MB / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.034e-06/1.373, allocations: 0 / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.2e-05/1.373, allocations: 3.875 kB / 1.364 GB, free: 32.97 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.0006906/1.374, allocations: 476.2 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.374, allocations: 8.766 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/1.374, allocations: 23.22 kB / 1.365 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/1.374, allocations: 260.8 kB / 1.365 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/1.374, allocations: 3.812 kB / 1.365 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/1.374, allocations: 11.56 kB / 1.365 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001971/1.374, allocations: 90.89 kB / 1.365 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/1.375, allocations: 124.1 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.375, allocations: 0 / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/1.375, allocations: 0 / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/1.375, allocations: 14.28 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009033/1.376, allocations: 0.5157 MB / 1.366 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/1.376, allocations: 230.7 kB / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/1.376, allocations: 69.95 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/1.376, allocations: 4.031 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/1.376, allocations: 38.62 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/1.376, allocations: 3.812 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0003977/1.376, allocations: 194.2 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/1.377, allocations: 59.2 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/1.377, allocations: 204.1 kB / 1.366 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/1.377, allocations: 25.7 kB / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.422e-05/1.377, allocations: 124.5 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/1.377, allocations: 84.64 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/1.377, allocations: 0 / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.377, allocations: 341.4 kB / 1.367 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/1.377, allocations: 79.97 kB / 1.367 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/1.377, allocations: 80.22 kB / 1.367 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/1.378, allocations: 102.9 kB / 1.367 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.378, allocations: 0 / 1.367 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003308/1.378, allocations: 249.9 kB / 1.367 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.378, allocations: 3.906 kB / 1.367 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.378, allocations: 3.812 kB / 1.367 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/1.378, allocations: 0 / 1.367 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/1.378, allocations: 81.72 kB / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.378, allocations: 0 / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/1.379, allocations: 26.17 kB / 1.368 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/1.379, allocations: 11.44 kB / 1.368 GB, free: 31.17 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 9.442e-05/1.379, allocations: 106 kB / 1.368 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/1.379, allocations: 19.53 kB / 1.368 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.472e-05/1.379, allocations: 32.53 kB / 1.368 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.379, allocations: 3.969 kB / 1.368 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.379, allocations: 6.719 kB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.379, allocations: 0 / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/1.379, allocations: 280.8 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.379, allocations: 0 / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/1.379, allocations: 36.23 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.379, allocations: 3.969 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/1.379, allocations: 10.05 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.379, allocations: 0 / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.379, allocations: 0 / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/1.38, allocations: 382.6 kB / 1.368 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.65e-05/1.38, allocations: 121.8 kB / 1.368 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/1.38, allocations: 7.375 kB / 1.369 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/1.38, allocations: 10.41 kB / 1.369 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/1.38, allocations: 17.28 kB / 1.369 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/1.38, allocations: 11.66 kB / 1.369 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000148/1.381, allocations: 167.1 kB / 1.369 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.381, allocations: 0 / 1.369 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002742/1.381, allocations: 45.91 kB / 1.369 GB, free: 30.52 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.0001757/1.381, allocations: 105.9 kB / 1.369 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002995/1.381, allocations: 180.4 kB / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.381, allocations: 0 / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/1.381, allocations: 85.67 kB / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/1.382, allocations: 40.05 kB / 1.369 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/1.383, allocations: 481.4 kB / 1.37 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/1.383, allocations: 0.7688 MB / 1.37 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001561/1.383, allocations: 57.56 kB / 1.37 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/1.383, allocations: 18.78 kB / 1.37 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/1.383, allocations: 0 / 1.37 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.004594/1.388, allocations: 1.954 MB / 1.372 GB, free: 29.38 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.makefile (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 & ./Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.csv","../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches