Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.547/2.547, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001288/0.001288, allocations: 173.1 kB / 498.1 MB, free: 5.734 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.585/1.585, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0012/0.001199, allocations: 98.83 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 7.594 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2901, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.4845, allocations: 150.4 MB / 1.37 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4848, allocations: 75.89 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0151/0.4999, allocations: 4.962 MB / 1.375 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.604e-06/0.4999, allocations: 0 / 1.375 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.752e-05/0.4999, allocations: 8 kB / 1.375 GB, free: 6.574 MB / 0.8698 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.00101/0.501, allocations: 0.5139 MB / 1.375 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.501, allocations: 8.031 kB / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.97e-05/0.5011, allocations: 23.72 kB / 1.375 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.5016, allocations: 269.6 kB / 1.375 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.5016, allocations: 19.98 kB / 1.375 GB, free: 5.66 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.5017, allocations: 19.89 kB / 1.376 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.502, allocations: 138.3 kB / 1.376 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.502, allocations: 0 / 1.376 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.502, allocations: 0 / 1.376 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.5021, allocations: 16.22 kB / 1.376 GB, free: 5.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.5024, allocations: 131.4 kB / 1.376 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.5035, allocations: 0.5525 MB / 1.376 GB, free: 4.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.5039, allocations: 253.6 kB / 1.377 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.5039, allocations: 192 / 1.377 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.5039, allocations: 42.7 kB / 1.377 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.5039, allocations: 0 / 1.377 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22): time 0.0005937/0.5045, allocations: 305 kB / 1.377 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.5046, allocations: 55.39 kB / 1.377 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.5049, allocations: 216.2 kB / 1.377 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.505, allocations: 29.7 kB / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.648e-05/0.5051, allocations: 136.5 kB / 1.377 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.543e-05/0.5052, allocations: 82.81 kB / 1.377 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.5052, allocations: 4 kB / 1.377 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5053, allocations: 334.8 kB / 1.378 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.5055, allocations: 95.94 kB / 1.378 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.5057, allocations: 100.9 kB / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.5059, allocations: 112.5 kB / 1.378 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5059, allocations: 0 / 1.378 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004409/0.5063, allocations: 277.3 kB / 1.378 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.5064, allocations: 12 kB / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.5064, allocations: 0 / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.5064, allocations: 0 / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.5068, allocations: 83.89 kB / 1.378 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.5069, allocations: 3.953 kB / 1.378 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.5071, allocations: 19.84 kB / 1.378 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.5071, allocations: 11.92 kB / 1.378 GB, free: 2.562 MB / 0.8698 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.0001728/0.5073, allocations: 149.7 kB / 1.379 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.5074, allocations: 23.72 kB / 1.379 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.381e-05/0.5074, allocations: 30.19 kB / 1.379 GB, free: 2.352 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.5075, allocations: 0 / 1.379 GB, free: 2.352 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.5075, allocations: 0 / 1.379 GB, free: 2.352 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.5075, allocations: 7.938 kB / 1.379 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.5079, allocations: 305.4 kB / 1.379 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.5079, allocations: 8 kB / 1.379 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.5082, allocations: 39.97 kB / 1.379 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5082, allocations: 4 kB / 1.379 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.5082, allocations: 12 kB / 1.379 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.5082, allocations: 3.938 kB / 1.379 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5082, allocations: 0 / 1.379 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.5089, allocations: 409.3 kB / 1.379 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.5091, allocations: 128.7 kB / 1.379 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.5091, allocations: 12 kB / 1.379 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.5093, allocations: 7.984 kB / 1.379 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.5094, allocations: 15.98 kB / 1.38 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5094, allocations: 7.938 kB / 1.38 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002813/0.5097, allocations: 180.5 kB / 1.38 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5097, allocations: 0 / 1.38 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003116/0.51, allocations: 52 kB / 1.38 GB, free: 1.098 MB / 0.8698 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.0001998/0.5103, allocations: 119 kB / 1.38 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.5107, allocations: 207.8 kB / 1.38 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5107, allocations: 0 / 1.38 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.5109, allocations: 93.02 kB / 1.38 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.5112, allocations: 41.56 kB / 1.38 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.5126, allocations: 0.6781 MB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.513, allocations: 0.7677 MB / 1.382 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.5132, allocations: 57.83 kB / 1.382 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.5133, allocations: 19.44 kB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/0.5133, allocations: 4 kB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of Templates: time 0.006131/0.5194, allocations: 2.111 MB / 1.384 GB, free: 12.95 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.csv","../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches