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.007664/0.007664, allocations: 106 kB / 15.74 MB, free: 5.992 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.001624/0.001624, allocations: 196 kB / 16.67 MB, free: 5.914 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.543/2.543, allocations: 461.9 MB / 0.7348 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 67.89 kB / 1.054 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8904/0.8919, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.00281/0.8947, allocations: 1.808 MB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009596/0.8957, allocations: 0.5689 MB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.8958, allocations: 0 / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.896, allocations: 27.72 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.8963, allocations: 67.61 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.8966, allocations: 87.86 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.8969, allocations: 271.3 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.897, allocations: 32.3 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.8971, allocations: 115.5 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.8974, allocations: 131.5 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.8974, allocations: 16 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.416e-05/0.8975, allocations: 24 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-05/0.8976, allocations: 63.81 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.595e-05/0.8977, allocations: 107.3 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.8979, allocations: 215.1 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8979, allocations: 0 / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8979, allocations: 0 / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.8979, allocations: 0 / 1.211 GB, free: 10.12 MB / 0.9356 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.00108/0.899, allocations: 0.543 MB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.8991, allocations: 8.031 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.8991, allocations: 28.66 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.8996, allocations: 278.7 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.8996, allocations: 8.375 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.8997, allocations: 20.28 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.9, allocations: 150.6 kB / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.9, allocations: 0 / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.9, allocations: 4 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.9, allocations: 12.23 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.9003, allocations: 132.6 kB / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000891/0.9012, allocations: 0.5444 MB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.9015, allocations: 182.4 kB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.9017, allocations: 76.7 kB / 1.213 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.9017, allocations: 4 kB / 1.213 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.9017, allocations: 34.56 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.9017, allocations: 0 / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0005133/0.9022, allocations: 252 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.9023, allocations: 55.34 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.9027, allocations: 245 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.9027, allocations: 29.7 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.9028, allocations: 140.6 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.9028, allocations: 66.92 kB / 1.214 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.176e-05/0.9029, allocations: 45.7 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.903, allocations: 334.8 kB / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.9032, allocations: 79.89 kB / 1.214 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.9033, allocations: 81.48 kB / 1.214 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.9036, allocations: 184.2 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9036, allocations: 3.938 kB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003908/0.904, allocations: 249.3 kB / 1.215 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.9041, allocations: 4 kB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.9041, allocations: 3.984 kB / 1.215 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.9041, allocations: 4 kB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.9044, allocations: 71.84 kB / 1.215 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.9044, allocations: 0 / 1.215 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.9046, allocations: 19.83 kB / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.9047, allocations: 8 kB / 1.215 GB, free: 6.055 MB / 0.9356 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.0001092/0.9048, allocations: 141.8 kB / 1.215 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.9048, allocations: 19.72 kB / 1.215 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.9049, allocations: 38.16 kB / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.9049, allocations: 3.938 kB / 1.215 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9049, allocations: 0 / 1.215 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9049, allocations: 0 / 1.215 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.9052, allocations: 305.4 kB / 1.215 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9052, allocations: 0 / 1.215 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.9055, allocations: 27.98 kB / 1.215 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9055, allocations: 4 kB / 1.215 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.9055, allocations: 8 kB / 1.215 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.9055, allocations: 11.86 kB / 1.215 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9055, allocations: 4 kB / 1.215 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.906, allocations: 374.7 kB / 1.216 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.9062, allocations: 120.8 kB / 1.216 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.9062, allocations: 11.94 kB / 1.216 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.9064, allocations: 11.98 kB / 1.216 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.9065, allocations: 11.98 kB / 1.216 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.9065, allocations: 7.938 kB / 1.216 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002822/0.9068, allocations: 180.5 kB / 1.216 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9068, allocations: 0 / 1.216 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002856/0.9071, allocations: 51.91 kB / 1.216 GB, free: 4.66 MB / 0.9356 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.0001219/0.9072, allocations: 115.2 kB / 1.216 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003453/0.9076, allocations: 173.2 kB / 1.216 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9076, allocations: 0 / 1.216 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.9077, allocations: 83.84 kB / 1.217 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.9081, allocations: 43.64 kB / 1.217 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.9093, allocations: 0.591 MB / 1.217 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.9096, allocations: 0.7554 MB / 1.218 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.9097, allocations: 53.5 kB / 1.218 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.9098, allocations: 15.44 kB / 1.218 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.9098, allocations: 0 / 1.218 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of Templates: time 0.005413/0.9152, allocations: 2.357 MB / 1.22 GB, free: 444 kB / 0.9356 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