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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001157/0.001157, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001661/0.001661, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.9 MB / 0.666 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 12 kB / 0.8153 GB, free: 13.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7385, allocations: 142.4 MB / 0.9544 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.001826/0.7404, allocations: 1.467 MB / 0.9559 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.7412, allocations: 0.5537 MB / 0.9564 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.7413, allocations: 1.156 kB / 0.9564 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.078e-05/0.7414, allocations: 13.05 kB / 0.9564 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.7417, allocations: 67.38 kB / 0.9565 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.7419, allocations: 69.7 kB / 0.9565 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.7421, allocations: 229.4 kB / 0.9568 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.7422, allocations: 29.11 kB / 0.9568 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.7424, allocations: 94.91 kB / 0.9569 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.7425, allocations: 115.4 kB / 0.957 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.7426, allocations: 9.375 kB / 0.957 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.816e-05/0.7426, allocations: 11.97 kB / 0.957 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.447e-05/0.7427, allocations: 62.92 kB / 0.9571 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.7428, allocations: 48.77 kB / 0.9571 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.7429, allocations: 158.1 kB / 0.9573 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7429, allocations: 0 / 0.9573 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7429, allocations: 1.031 kB / 0.9573 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.7429, allocations: 0 / 0.9573 GB, free: 5.613 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.0008183/0.7438, allocations: 0.5086 MB / 0.9578 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.7438, allocations: 8.281 kB / 0.9578 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.7439, allocations: 27.98 kB / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.7442, allocations: 264.8 kB / 0.9581 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.7442, allocations: 9.5 kB / 0.9581 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.7443, allocations: 21.61 kB / 0.9581 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.7446, allocations: 150.3 kB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.7446, allocations: 1.406 kB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.7446, allocations: 0 / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.7446, allocations: 9.766 kB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.7449, allocations: 149.6 kB / 0.9584 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.7457, allocations: 0.5508 MB / 0.9589 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.746, allocations: 182.3 kB / 0.9591 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.7462, allocations: 73.2 kB / 0.9592 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.7462, allocations: 2.75 kB / 0.9592 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.7462, allocations: 31.94 kB / 0.9592 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.923e-06/0.7462, allocations: 0 / 0.9592 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0004847/0.7467, allocations: 271.5 kB / 0.9595 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.7468, allocations: 54.16 kB / 0.9595 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.7471, allocations: 242 kB / 0.9597 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.7471, allocations: 29.7 kB / 0.9598 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.7472, allocations: 134.2 kB / 0.9599 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.7472, allocations: 68.64 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.7472, allocations: 5.375 kB / 0.96 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.7473, allocations: 332.3 kB / 0.9603 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.7474, allocations: 78.58 kB / 0.9604 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.7476, allocations: 90.28 kB / 0.9604 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.7478, allocations: 94.22 kB / 0.9605 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7478, allocations: 4 kB / 0.9605 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003983/0.7482, allocations: 262.6 kB / 0.9608 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.7482, allocations: 5.188 kB / 0.9608 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7482, allocations: 0 / 0.9608 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.7482, allocations: 1 kB / 0.9608 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.7485, allocations: 65.06 kB / 0.9608 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.7486, allocations: 4.984 kB / 0.9609 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.7487, allocations: 27.8 kB / 0.9609 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.7488, allocations: 3.844 kB / 0.9609 GB, free: 2.805 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.7489, allocations: 138.9 kB / 0.961 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.7489, allocations: 25.7 kB / 0.961 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.16e-05/0.749, allocations: 31.39 kB / 0.9611 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.749, allocations: 2 kB / 0.9611 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.749, allocations: 1 kB / 0.9611 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.749, allocations: 0 / 0.9611 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.7493, allocations: 306.4 kB / 0.9614 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7493, allocations: 0 / 0.9614 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.7495, allocations: 34.58 kB / 0.9614 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.7495, allocations: 5.234 kB / 0.9614 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.7496, allocations: 11.52 kB / 0.9614 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.7496, allocations: 1.25 kB / 0.9614 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.7496, allocations: 4 kB / 0.9614 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.7501, allocations: 381.5 kB / 0.9618 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.7502, allocations: 118.1 kB / 0.9619 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.7502, allocations: 15.28 kB / 0.9619 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.7504, allocations: 5.781 kB / 0.9619 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.7505, allocations: 13.77 kB / 0.9619 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.7505, allocations: 7.203 kB / 0.9619 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002547/0.7508, allocations: 184.3 kB / 0.9621 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7508, allocations: 0 / 0.9621 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003006/0.7511, allocations: 53.22 kB / 0.9622 GB, free: 1.785 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/0.7512, allocations: 108.5 kB / 0.9623 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004027/0.7516, allocations: 176.3 kB / 0.9624 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7516, allocations: 0 / 0.9624 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.7518, allocations: 84.62 kB / 0.9625 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.7522, allocations: 37.38 kB / 0.9626 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.7533, allocations: 0.6734 MB / 0.9632 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.7535, allocations: 0.7562 MB / 0.9639 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.7536, allocations: 50.16 kB / 0.964 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.7537, allocations: 22.47 kB / 0.964 GB, free: 336 kB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/0.7537, allocations: 1.344 kB / 0.964 GB, free: 336 kB / 0.7169 GB Notification: Performance of Templates: time 0.005287/0.759, allocations: 1.998 MB / 0.966 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