Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006377/0.006377, allocations: 95.44 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.00142/0.00142, allocations: 205 kB / 16.68 MB, free: 5.973 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 63.91 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3388, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002995/0.3418, allocations: 1.803 MB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3429, allocations: 0.5767 MB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.343, allocations: 7.938 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.3431, allocations: 19.8 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.3435, allocations: 75.55 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.3437, allocations: 87.8 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.3441, allocations: 267.4 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3442, allocations: 24.31 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.3444, allocations: 111.5 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.3446, allocations: 135.5 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.3447, allocations: 19.94 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.288e-05/0.3447, allocations: 23.94 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3448, allocations: 79.73 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.96e-05/0.3449, allocations: 95.45 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.3452, allocations: 219 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3452, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3452, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3452, allocations: 4 kB / 1.224 GB, free: 10.3 MB / 0.9825 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.00109/0.3463, allocations: 0.5347 MB / 1.225 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.3464, allocations: 12.02 kB / 1.225 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.3464, allocations: 32.75 kB / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.3469, allocations: 282.9 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3469, allocations: 8.375 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.347, allocations: 20.31 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.3473, allocations: 145.6 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3473, allocations: 3.938 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.3473, allocations: 8 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.3474, allocations: 12.22 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.3477, allocations: 140.6 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.3487, allocations: 0.5444 MB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.349, allocations: 178 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.3491, allocations: 72.81 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.3492, allocations: 3.984 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.3492, allocations: 34.56 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.3492, allocations: 0 / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0005146/0.3497, allocations: 251.6 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.3498, allocations: 67.25 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.3501, allocations: 237 kB / 1.227 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.3501, allocations: 33.7 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.3502, allocations: 132.6 kB / 1.227 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.3503, allocations: 83.3 kB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.3504, allocations: 41.72 kB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3505, allocations: 334.8 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3507, allocations: 91.88 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.3508, allocations: 81.7 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.3511, allocations: 178.5 kB / 1.227 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3511, allocations: 0 / 1.227 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004067/0.3515, allocations: 249.1 kB / 1.228 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3515, allocations: 8 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3515, allocations: 0 / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3516, allocations: 0 / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.3519, allocations: 83.77 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3519, allocations: 3.984 kB / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.3521, allocations: 19.88 kB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.3521, allocations: 8 kB / 1.228 GB, free: 6.219 MB / 0.9825 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.000113/0.3522, allocations: 134.4 kB / 1.228 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.3523, allocations: 23.86 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.3523, allocations: 26.19 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3523, allocations: 7.938 kB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3523, allocations: 4 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/0.3524, allocations: 7.922 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.3527, allocations: 293.4 kB / 1.228 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3527, allocations: 0 / 1.228 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.3529, allocations: 39.97 kB / 1.228 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3529, allocations: 0 / 1.228 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.3529, allocations: 8 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3529, allocations: 3.938 kB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3529, allocations: 0 / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.3535, allocations: 377.3 kB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.3536, allocations: 120.9 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.3536, allocations: 11.92 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.3538, allocations: 15.98 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.3539, allocations: 11.98 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3539, allocations: 8 kB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002717/0.3542, allocations: 180.5 kB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3542, allocations: 4 kB / 1.229 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002953/0.3545, allocations: 47.95 kB / 1.229 GB, free: 4.828 MB / 0.9825 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.0001606/0.3546, allocations: 103.2 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.355, allocations: 163.8 kB / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.355, allocations: 0 / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.3551, allocations: 83.89 kB / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.3555, allocations: 42.59 kB / 1.229 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.3568, allocations: 0.5979 MB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.3571, allocations: 0.7632 MB / 1.231 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.3573, allocations: 49.48 kB / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.3573, allocations: 23.42 kB / 1.231 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3574, allocations: 0 / 1.231 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of Templates: time 0.005572/0.3629, allocations: 2.296 MB / 1.233 GB, free: 0.6562 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.makefile (rm -f Buildings_11_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches