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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0018/0.0018, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6653/0.6668, allocations: 140.4 MB / 0.9491 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002651/0.6695, allocations: 1.848 MB / 0.9509 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008625/0.6703, allocations: 0.5766 MB / 0.9515 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.579e-05/0.6705, allocations: 2.75 kB / 0.9515 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.6706, allocations: 17.23 kB / 0.9515 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.6709, allocations: 58.66 kB / 0.9515 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.6711, allocations: 77.3 kB / 0.9516 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.6714, allocations: 269.9 kB / 0.9519 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.6716, allocations: 39.16 kB / 0.9519 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.6717, allocations: 111.9 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.6719, allocations: 134 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.672, allocations: 20.5 kB / 0.9522 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.005e-05/0.672, allocations: 19.12 kB / 0.9522 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.6722, allocations: 75.34 kB / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.968e-05/0.6723, allocations: 95.97 kB / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.6725, allocations: 211.6 kB / 0.9525 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.6725, allocations: 1.75 kB / 0.9525 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6725, allocations: 0 / 0.9525 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.6726, allocations: 0 / 0.9525 GB, free: 6.66 MB / 0.7169 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.001081/0.6736, allocations: 0.5432 MB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.6737, allocations: 9.125 kB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.6738, allocations: 24.88 kB / 0.9531 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.6742, allocations: 279 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.6742, allocations: 10.25 kB / 0.9534 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.6743, allocations: 16.41 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.6746, allocations: 145.5 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.6746, allocations: 3.984 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.6747, allocations: 0.8125 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.6747, allocations: 17.5 kB / 0.9536 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.675, allocations: 134.8 kB / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009096/0.676, allocations: 0.5483 MB / 0.9542 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.6763, allocations: 183.8 kB / 0.9544 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.6765, allocations: 73.84 kB / 0.9545 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.6765, allocations: 2.25 kB / 0.9545 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.6765, allocations: 35.66 kB / 0.9545 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.6765, allocations: 0 / 0.9545 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0004836/0.677, allocations: 252.2 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.677, allocations: 61.91 kB / 0.9548 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.6774, allocations: 250.8 kB / 0.955 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.6774, allocations: 31.14 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.6775, allocations: 129.7 kB / 0.9552 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.6776, allocations: 72.52 kB / 0.9553 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.6776, allocations: 47.36 kB / 0.9553 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.6777, allocations: 332.9 kB / 0.9556 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.6779, allocations: 77.39 kB / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.678, allocations: 90.08 kB / 0.9558 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.6783, allocations: 176.8 kB / 0.956 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6783, allocations: 0 / 0.956 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003965/0.6787, allocations: 251.1 kB / 0.9562 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.6787, allocations: 4.25 kB / 0.9562 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6787, allocations: 0 / 0.9562 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.6788, allocations: 1.5 kB / 0.9562 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.6791, allocations: 71.52 kB / 0.9563 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.6791, allocations: 5.312 kB / 0.9563 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.6793, allocations: 22.08 kB / 0.9563 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.6794, allocations: 4.469 kB / 0.9563 GB, free: 3.746 MB / 0.7169 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.0001118/0.6795, allocations: 139 kB / 0.9564 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.6795, allocations: 21.66 kB / 0.9565 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/0.6796, allocations: 31.83 kB / 0.9565 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.6796, allocations: 6.312 kB / 0.9565 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6796, allocations: 0 / 0.9565 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.6796, allocations: 4 kB / 0.9565 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.68, allocations: 301.9 kB / 0.9568 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.68, allocations: 3.984 kB / 0.9568 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.6802, allocations: 34.86 kB / 0.9568 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6802, allocations: 0 / 0.9568 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.6802, allocations: 8.312 kB / 0.9568 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.6802, allocations: 11.92 kB / 0.9568 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6803, allocations: 5.438 kB / 0.9568 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/0.6808, allocations: 372.1 kB / 0.9572 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-05/0.6809, allocations: 122.7 kB / 0.9573 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.6809, allocations: 10.66 kB / 0.9573 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.6811, allocations: 8.797 kB / 0.9573 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.6812, allocations: 13.2 kB / 0.9573 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.6812, allocations: 4 kB / 0.9573 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002609/0.6815, allocations: 181.6 kB / 0.9575 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.01e-07/0.6815, allocations: 4 kB / 0.9575 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002929/0.6818, allocations: 50.19 kB / 0.9576 GB, free: 2.723 MB / 0.7169 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.0001134/0.6819, allocations: 104.8 kB / 0.9577 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003704/0.6823, allocations: 207.1 kB / 0.9579 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6823, allocations: 3.938 kB / 0.9579 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.6824, allocations: 79.03 kB / 0.9579 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.6828, allocations: 45.86 kB / 0.958 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.684, allocations: 0.6503 MB / 0.9586 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.6842, allocations: 0.7637 MB / 0.9594 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.6844, allocations: 46.94 kB / 0.9594 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.6844, allocations: 22.97 kB / 0.9594 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.6845, allocations: 0 / 0.9594 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of Templates: time 0.005321/0.6898, allocations: 2.209 MB / 0.9616 GB, free: 184 kB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches