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.001235/0.001235, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01013/0.01013, allocations: 170 kB / 16.26 MB, free: 6.613 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.437/2.437, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003713, allocations: 12.28 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6615/0.6619, allocations: 142.4 MB / 0.955 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.00178/0.6637, allocations: 1.505 MB / 0.9565 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.6646, allocations: 0.5757 MB / 0.9571 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.6648, allocations: 2.562 kB / 0.9571 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.665, allocations: 17.3 kB / 0.9571 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.6654, allocations: 65.81 kB / 0.9571 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.6656, allocations: 79.67 kB / 0.9572 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.6659, allocations: 256.4 kB / 0.9575 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.6661, allocations: 30.88 kB / 0.9575 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.6663, allocations: 96.92 kB / 0.9576 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.6665, allocations: 129.6 kB / 0.9577 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/0.6666, allocations: 8.469 kB / 0.9577 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.6666, allocations: 8.625 kB / 0.9577 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.822e-05/0.6667, allocations: 59.84 kB / 0.9578 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.6668, allocations: 120.8 kB / 0.9579 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.667, allocations: 198.1 kB / 0.9581 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.667, allocations: 0 / 0.9581 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.667, allocations: 4 kB / 0.9581 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.6671, allocations: 0 / 0.9581 GB, free: 5.734 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.001002/0.6681, allocations: 0.5058 MB / 0.9586 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.6681, allocations: 9.625 kB / 0.9586 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.6682, allocations: 25.03 kB / 0.9586 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.6686, allocations: 278.5 kB / 0.9589 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.6687, allocations: 8.5 kB / 0.9589 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.6687, allocations: 14 kB / 0.9589 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.669, allocations: 148.8 kB / 0.959 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.669, allocations: 0 / 0.959 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.669, allocations: 13.36 kB / 0.9591 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.6691, allocations: 8.203 kB / 0.9591 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.6694, allocations: 143.2 kB / 0.9592 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/0.6702, allocations: 0.5529 MB / 0.9597 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.6705, allocations: 180.3 kB / 0.9599 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.6707, allocations: 78.67 kB / 0.96 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.6707, allocations: 1.094 kB / 0.96 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.6707, allocations: 31.94 kB / 0.96 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.745e-06/0.6707, allocations: 9.297 kB / 0.96 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0005203/0.6713, allocations: 259 kB / 0.9603 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.6713, allocations: 60.72 kB / 0.9603 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.6717, allocations: 248 kB / 0.9606 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.6717, allocations: 30.67 kB / 0.9606 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.6718, allocations: 125.6 kB / 0.9607 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.6718, allocations: 72.59 kB / 0.9608 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.6719, allocations: 29.55 kB / 0.9608 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.6719, allocations: 332.8 kB / 0.9611 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.6721, allocations: 83.58 kB / 0.9612 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.6723, allocations: 87.8 kB / 0.9613 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.6726, allocations: 184.4 kB / 0.9615 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6726, allocations: 0 / 0.9615 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004214/0.673, allocations: 250.5 kB / 0.9617 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.673, allocations: 8.281 kB / 0.9617 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.673, allocations: 0.75 kB / 0.9617 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6731, allocations: 4.688 kB / 0.9617 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.6734, allocations: 73.08 kB / 0.9618 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6734, allocations: 1.219 kB / 0.9618 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.6736, allocations: 22.7 kB / 0.9618 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.6736, allocations: 4.688 kB / 0.9618 GB, free: 2.855 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 9.512e-05/0.6737, allocations: 143.3 kB / 0.962 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.6738, allocations: 21.41 kB / 0.962 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.6738, allocations: 31.36 kB / 0.962 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6738, allocations: 6.281 kB / 0.962 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6739, allocations: 1.188 kB / 0.962 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6739, allocations: 4 kB / 0.962 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.6741, allocations: 305.2 kB / 0.9623 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.6741, allocations: 0 / 0.9623 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.6744, allocations: 35.61 kB / 0.9623 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6744, allocations: 5.406 kB / 0.9623 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.6744, allocations: 6.656 kB / 0.9624 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6744, allocations: 5.281 kB / 0.9624 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6744, allocations: 0 / 0.9624 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.6749, allocations: 377.9 kB / 0.9627 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.394e-05/0.675, allocations: 126.4 kB / 0.9628 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.6751, allocations: 11.28 kB / 0.9629 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.6753, allocations: 10.33 kB / 0.9629 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.6753, allocations: 13.61 kB / 0.9629 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.6753, allocations: 3.281 kB / 0.9629 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002644/0.6756, allocations: 181.2 kB / 0.963 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6756, allocations: 0 / 0.963 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002971/0.6759, allocations: 46.16 kB / 0.9631 GB, free: 1.844 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.0001044/0.676, allocations: 112.8 kB / 0.9632 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.6764, allocations: 177 kB / 0.9634 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6764, allocations: 0.9688 kB / 0.9634 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.6765, allocations: 90.39 kB / 0.9635 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.677, allocations: 44.48 kB / 0.9635 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.6781, allocations: 0.6819 MB / 0.9642 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.6783, allocations: 0.7567 MB / 0.9649 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.6784, allocations: 58.5 kB / 0.965 GB, free: 380 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.6785, allocations: 21.69 kB / 0.965 GB, free: 368 kB / 0.7169 GB Notification: Performance of SimCode: time 4.6e-07/0.6785, allocations: 0.9688 kB / 0.965 GB, free: 368 kB / 0.7169 GB Notification: Performance of Templates: time 0.005115/0.6836, allocations: 2.061 MB / 0.967 GB, free: 15.34 MB / 0.7325 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