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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00161/0.001616, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001953/0.001953, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 64.27 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3717, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.003769/0.3756, allocations: 1.854 MB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3769, allocations: 0.5882 MB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.3771, allocations: 4 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.3773, allocations: 15.86 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.3778, allocations: 62.69 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.3781, allocations: 87.89 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.3785, allocations: 255.2 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.3786, allocations: 28.31 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.3789, allocations: 99.59 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.3792, allocations: 127.5 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.3792, allocations: 8 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.812e-05/0.3793, allocations: 12 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.3794, allocations: 71.72 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.3795, allocations: 79.47 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.3798, allocations: 207.4 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3798, allocations: 0 / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3798, allocations: 0 / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.3798, allocations: 7.938 kB / 1.055 GB, free: 5.355 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.001371/0.3812, allocations: 0.5349 MB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3813, allocations: 8.031 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.445e-05/0.3814, allocations: 28.66 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.3818, allocations: 274.7 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3819, allocations: 8.375 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.3819, allocations: 20.36 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.3822, allocations: 143.3 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3823, allocations: 3.984 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3823, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.3823, allocations: 16.22 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.3827, allocations: 144.5 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.3837, allocations: 0.5444 MB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.384, allocations: 184 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.3842, allocations: 72.81 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3842, allocations: 4 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3843, allocations: 34.56 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.824e-06/0.3843, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0005677/0.3849, allocations: 259.5 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3849, allocations: 59.28 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/0.3853, allocations: 245 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.3854, allocations: 29.7 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.3855, allocations: 132.5 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.278e-05/0.3855, allocations: 74.98 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.3856, allocations: 45.7 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3858, allocations: 338.8 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.386, allocations: 75.95 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.3862, allocations: 81.48 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.3865, allocations: 179.1 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3865, allocations: 0 / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004156/0.3869, allocations: 250.2 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.387, allocations: 4 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.387, allocations: 7.984 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.387, allocations: 0 / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.3873, allocations: 75.89 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3874, allocations: 4 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3876, allocations: 19.83 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.3876, allocations: 4 kB / 1.059 GB, free: 1.293 MB / 0.8106 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.0001407/0.3877, allocations: 145.7 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.3878, allocations: 23.72 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.408e-05/0.3879, allocations: 30.17 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3879, allocations: 7.938 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3879, allocations: 0 / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3879, allocations: 0 / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.3882, allocations: 297.4 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3883, allocations: 3.984 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.3886, allocations: 35.92 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3886, allocations: 0 / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.3886, allocations: 8 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3886, allocations: 3.938 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3886, allocations: 4 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/0.3892, allocations: 368.4 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.3894, allocations: 120.7 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.3894, allocations: 15.88 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.3896, allocations: 11.98 kB / 1.06 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.3897, allocations: 11.98 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.3897, allocations: 8 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003606/0.3901, allocations: 184.4 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3901, allocations: 0 / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002998/0.3904, allocations: 44 kB / 1.061 GB, free: 15.91 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.0001427/0.3905, allocations: 105.8 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.3909, allocations: 186 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.391, allocations: 4 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.3911, allocations: 79.89 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.3916, allocations: 44.41 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.393, allocations: 0.6514 MB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.3934, allocations: 0.7557 MB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.3936, allocations: 57.5 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.3937, allocations: 15.44 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of SimCode: time 7.92e-07/0.3937, allocations: 3.938 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of Templates: time 0.005984/0.3997, allocations: 2.09 MB / 1.064 GB, free: 11.87 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