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.007082/0.007082, allocations: 103 kB / 15.73 MB, free: 6.051 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.001608/0.001608, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 68.09 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.332, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.003347/0.3354, allocations: 1.793 MB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3366, allocations: 0.581 MB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.3368, allocations: 4 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.3369, allocations: 27.73 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.3374, allocations: 75.48 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.3377, allocations: 87.86 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000438/0.3381, allocations: 267.4 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3383, allocations: 32.3 kB / 1.211 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.3385, allocations: 107.5 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.3388, allocations: 135.5 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.3388, allocations: 16 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.055e-05/0.3389, allocations: 20 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.339, allocations: 71.75 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.3391, allocations: 103.4 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.3394, allocations: 215.2 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3394, allocations: 3.938 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3394, allocations: 0 / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.3395, allocations: 4 kB / 1.211 GB, free: 6.105 MB / 0.9669 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.001186/0.3407, allocations: 0.5296 MB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3407, allocations: 8.031 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.159e-05/0.3408, allocations: 28.66 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.3413, allocations: 286.7 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3413, allocations: 8.375 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.3414, allocations: 16.28 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.3417, allocations: 146.6 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3417, allocations: 7.938 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3417, allocations: 0 / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.3417, allocations: 16.22 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.3421, allocations: 144.5 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000892/0.343, allocations: 0.5444 MB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.3433, allocations: 178.4 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.3434, allocations: 72.81 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.3434, allocations: 4 kB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3435, allocations: 34.56 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.3435, allocations: 0 / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.000504/0.344, allocations: 251 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.344, allocations: 59.34 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.3444, allocations: 241 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3444, allocations: 33.7 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/0.3445, allocations: 140.4 kB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.3446, allocations: 67 kB / 1.214 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.3447, allocations: 49.7 kB / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3448, allocations: 326.8 kB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.345, allocations: 79.94 kB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.3451, allocations: 83.89 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.3454, allocations: 185.4 kB / 1.215 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3454, allocations: 0 / 1.215 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004221/0.3459, allocations: 254.3 kB / 1.215 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3459, allocations: 4 kB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3459, allocations: 4 kB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3459, allocations: 0 / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.3463, allocations: 67.89 kB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3463, allocations: 0 / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3465, allocations: 27.83 kB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3465, allocations: 4 kB / 1.215 GB, free: 2.043 MB / 0.9669 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.0001105/0.3466, allocations: 137.8 kB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.3467, allocations: 23.72 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.3467, allocations: 30.17 kB / 1.215 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3468, allocations: 7.938 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3468, allocations: 0 / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3468, allocations: 0 / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.3471, allocations: 293.5 kB / 1.215 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3471, allocations: 4 kB / 1.215 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.3473, allocations: 35.91 kB / 1.215 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3473, allocations: 4 kB / 1.215 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.3473, allocations: 4 kB / 1.215 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3474, allocations: 11.88 kB / 1.215 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3474, allocations: 0 / 1.215 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.3479, allocations: 388.7 kB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.348, allocations: 120.8 kB / 1.216 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.348, allocations: 11.94 kB / 1.216 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3482, allocations: 11.98 kB / 1.216 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.3483, allocations: 11.92 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3483, allocations: 4 kB / 1.216 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002707/0.3486, allocations: 184.5 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3486, allocations: 0 / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002781/0.3489, allocations: 51.91 kB / 1.216 GB, free: 0.6445 MB / 0.9669 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.0001403/0.349, allocations: 107.2 kB / 1.216 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.3494, allocations: 179.8 kB / 1.216 GB, free: 364 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3494, allocations: 0 / 1.216 GB, free: 364 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.3496, allocations: 81.14 kB / 1.217 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.35, allocations: 46.47 kB / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3512, allocations: 0.5891 MB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3515, allocations: 0.7632 MB / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.3517, allocations: 49.48 kB / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.929e-05/0.3518, allocations: 19.44 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3518, allocations: 0 / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of Templates: time 0.005332/0.3571, allocations: 2.289 MB / 1.22 GB, free: 12.48 MB / 0.9825 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