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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007324/0.0007322, allocations: 94.91 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007917/0.0007918, allocations: 177.2 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.809/2.809, allocations: 462.6 MB / 0.7364 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003681, allocations: 10.28 kB / 0.9027 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3736, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002274/0.3759, allocations: 1.512 MB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009628/0.3769, allocations: 0.5766 MB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.377, allocations: 7.938 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.402e-05/0.3771, allocations: 11.86 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.3774, allocations: 70.5 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.3776, allocations: 79.89 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.3779, allocations: 255.4 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3781, allocations: 28.31 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.3783, allocations: 99.53 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.3785, allocations: 119.5 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.3785, allocations: 12 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.56e-05/0.3786, allocations: 8 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3787, allocations: 59.81 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3788, allocations: 121 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.379, allocations: 191.5 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.379, allocations: 3.938 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.379, allocations: 4 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.3791, allocations: 0 / 1.062 GB, free: 1.848 MB / 0.8106 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.0009966/0.3801, allocations: 0.5063 MB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3801, allocations: 12.03 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.3802, allocations: 24.66 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.3806, allocations: 270.8 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3806, allocations: 12.38 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.3807, allocations: 20.3 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.381, allocations: 151.3 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.381, allocations: 0 / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.381, allocations: 0 / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.3811, allocations: 16.22 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.3814, allocations: 144.6 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009912/0.3824, allocations: 0.5482 MB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.3827, allocations: 182.5 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.3828, allocations: 68.83 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3829, allocations: 7.938 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3829, allocations: 38.56 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.243e-06/0.3829, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0005187/0.3834, allocations: 255.2 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.3835, allocations: 59.34 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.3838, allocations: 241 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.3839, allocations: 29.7 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.384, allocations: 144.5 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.3841, allocations: 63.02 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.3841, allocations: 29.7 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3842, allocations: 334.8 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3844, allocations: 79.95 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3846, allocations: 89.41 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.3849, allocations: 178.1 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3849, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004046/0.3853, allocations: 262.1 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3853, allocations: 4 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3853, allocations: 0 / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3853, allocations: 0 / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.3856, allocations: 71.84 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3857, allocations: 7.984 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.3859, allocations: 19.84 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3859, allocations: 7.984 kB / 1.065 GB, free: 13.81 MB / 0.8262 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.386, allocations: 145.2 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.3861, allocations: 27.66 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.222e-05/0.3861, allocations: 30.17 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3862, allocations: 7.938 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3862, allocations: 4 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3862, allocations: 0 / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.3865, allocations: 301.4 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3865, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.3867, allocations: 27.98 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3867, allocations: 4 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.3868, allocations: 15.98 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3868, allocations: 3.938 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3868, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.3873, allocations: 376.7 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.3875, allocations: 120.7 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.3875, allocations: 15.92 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.3877, allocations: 12 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.3878, allocations: 11.98 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.3878, allocations: 7.984 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002814/0.3881, allocations: 176.5 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3881, allocations: 0 / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000271/0.3884, allocations: 52 kB / 1.067 GB, free: 12.41 MB / 0.8262 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001441/0.3885, allocations: 103.2 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.3889, allocations: 195.7 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3889, allocations: 0 / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3891, allocations: 75.91 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3894, allocations: 41.61 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.3906, allocations: 0.6898 MB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.391, allocations: 0.7635 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.3911, allocations: 45.5 kB / 1.069 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.3912, allocations: 19.44 kB / 1.069 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3912, allocations: 0 / 1.069 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of Templates: time 0.005219/0.3964, allocations: 2.067 MB / 1.071 GB, free: 8.359 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches