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.319/2.319, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001506/0.001507, allocations: 194.6 kB / 0.4902 GB, free: 2.215 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.492/1.492, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001/0.0009996, allocations: 104.2 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004309, allocations: 10.47 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2977, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.4968, allocations: 151.2 MB / 1.377 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.4971, allocations: 71.97 kB / 1.377 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01611/0.5132, allocations: 4.964 MB / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.347e-06/0.5132, allocations: 0 / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.5133, allocations: 7.938 kB / 1.382 GB, free: 13.3 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.000932/0.5142, allocations: 0.5139 MB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5143, allocations: 12.55 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.5143, allocations: 23.72 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.5148, allocations: 265.6 kB / 1.383 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.5148, allocations: 8 kB / 1.383 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.5149, allocations: 16 kB / 1.383 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.5152, allocations: 146.2 kB / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5152, allocations: 0 / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.5152, allocations: 3.984 kB / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.5153, allocations: 12.17 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.5155, allocations: 136.6 kB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009835/0.5165, allocations: 0.5562 MB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.517, allocations: 258.5 kB / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.517, allocations: 192 / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.517, allocations: 34.75 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.517, allocations: 4 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22): time 0.0005968/0.5176, allocations: 299.2 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.5177, allocations: 55.41 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.518, allocations: 220.1 kB / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.5181, allocations: 33.7 kB / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.5182, allocations: 124.7 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.5182, allocations: 82.75 kB / 1.384 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.5183, allocations: 8 kB / 1.385 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5184, allocations: 334.8 kB / 1.385 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.5186, allocations: 95.94 kB / 1.385 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.5188, allocations: 92.45 kB / 1.385 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.519, allocations: 109.5 kB / 1.385 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.519, allocations: 0 / 1.385 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004358/0.5194, allocations: 285.3 kB / 1.385 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5194, allocations: 4 kB / 1.385 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/0.5195, allocations: 0 / 1.385 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5195, allocations: 4 kB / 1.385 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.5199, allocations: 79.89 kB / 1.385 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.5199, allocations: 11.94 kB / 1.385 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.5201, allocations: 23.83 kB / 1.385 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.5201, allocations: 8 kB / 1.386 GB, free: 9.285 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.0001351/0.5203, allocations: 141.8 kB / 1.386 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.5203, allocations: 27.7 kB / 1.386 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.998e-05/0.5204, allocations: 30.17 kB / 1.386 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5204, allocations: 4 kB / 1.386 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5204, allocations: 0 / 1.386 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5204, allocations: 3.953 kB / 1.386 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.5208, allocations: 313.3 kB / 1.386 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.5208, allocations: 0 / 1.386 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.5211, allocations: 51.86 kB / 1.386 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5211, allocations: 4 kB / 1.386 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.5211, allocations: 7.984 kB / 1.386 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5211, allocations: 4 kB / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5211, allocations: 0 / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.5217, allocations: 420.2 kB / 1.386 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.5219, allocations: 124.7 kB / 1.387 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.5219, allocations: 11.98 kB / 1.387 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.5221, allocations: 8 kB / 1.387 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.5222, allocations: 23.91 kB / 1.387 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.5222, allocations: 4 kB / 1.387 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002634/0.5225, allocations: 184.4 kB / 1.387 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5225, allocations: 0 / 1.387 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002755/0.5228, allocations: 56 kB / 1.387 GB, free: 7.805 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.0001545/0.5229, allocations: 104 kB / 1.387 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.5233, allocations: 210 kB / 1.387 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5233, allocations: 0 / 1.387 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.5235, allocations: 95.89 kB / 1.387 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.5238, allocations: 48.98 kB / 1.387 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.5249, allocations: 0.6703 MB / 1.388 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.5253, allocations: 0.7677 MB / 1.389 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.5254, allocations: 53.89 kB / 1.389 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.5255, allocations: 27.38 kB / 1.389 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.5255, allocations: 0 / 1.389 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of Templates: time 0.004688/0.5302, allocations: 2.105 MB / 1.391 GB, free: 3.672 MB / 0.8855 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