Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007595/0.007595, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.001898/0.001898, allocations: 192 kB / 16.67 MB, free: 6.391 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.91 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3447, allocations: 151.6 MB / 1.167 GB, free: 6.938 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002973/0.3477, allocations: 1.805 MB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3489, allocations: 0.5767 MB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.3491, allocations: 0 / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.3492, allocations: 27.73 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.3497, allocations: 63.61 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.35, allocations: 91.8 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.3504, allocations: 267.4 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3505, allocations: 32.3 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.3507, allocations: 107.6 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.351, allocations: 139.4 kB / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.3511, allocations: 16 kB / 1.17 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.3511, allocations: 24 kB / 1.17 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3513, allocations: 75.73 kB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.3514, allocations: 99.39 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.3516, allocations: 211 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3517, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3517, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.3517, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 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.001131/0.3528, allocations: 0.545 MB / 1.171 GB, free: 2.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.3529, allocations: 8.031 kB / 1.171 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.3529, allocations: 28.75 kB / 1.171 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/0.3535, allocations: 282.9 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.3535, allocations: 8.375 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.3536, allocations: 24.34 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.3538, allocations: 142.5 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3539, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.3539, allocations: 11.94 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/0.3539, allocations: 12.22 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.3543, allocations: 136.6 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009628/0.3552, allocations: 0.5444 MB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.3555, allocations: 180.5 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.3557, allocations: 72.83 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3557, allocations: 7.984 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3558, allocations: 34.56 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.3558, allocations: 0 / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=18): time 0.0005645/0.3563, allocations: 249.7 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.3564, allocations: 59.28 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.3568, allocations: 249 kB / 1.173 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3568, allocations: 25.7 kB / 1.173 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3569, allocations: 148.5 kB / 1.173 GB, free: 480 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.061e-05/0.357, allocations: 75.38 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3571, allocations: 41.7 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3573, allocations: 342.8 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.3575, allocations: 75.95 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.3576, allocations: 83.94 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.358, allocations: 179.2 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.358, allocations: 4 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003957/0.3584, allocations: 245.4 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3584, allocations: 5.719 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3584, allocations: 3.938 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3584, allocations: 4 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.3588, allocations: 67.89 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3588, allocations: 0 / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.359, allocations: 23.89 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.359, allocations: 15.94 kB / 1.174 GB, free: 15.3 MB / 0.9356 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.0001299/0.3591, allocations: 137.8 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.3592, allocations: 19.86 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.3593, allocations: 34.17 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3593, allocations: 3.938 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3593, allocations: 0 / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3593, allocations: 7.922 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.3596, allocations: 301.4 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3596, allocations: 0 / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.3599, allocations: 39.92 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3599, allocations: 0 / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.3599, allocations: 7.984 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3599, allocations: 3.938 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3599, allocations: 4 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/0.3605, allocations: 368 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3606, allocations: 116.9 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.3606, allocations: 19.92 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.3608, allocations: 8 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.3609, allocations: 11.97 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3609, allocations: 4 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002812/0.3612, allocations: 180.5 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3612, allocations: 0 / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002825/0.3615, allocations: 51.95 kB / 1.175 GB, free: 13.91 MB / 0.9356 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.0001532/0.3617, allocations: 119.1 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.362, allocations: 178.7 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.362, allocations: 0 / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3622, allocations: 79.91 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3626, allocations: 42.47 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.3638, allocations: 0.5959 MB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3642, allocations: 0.7554 MB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.3643, allocations: 57.48 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/0.3644, allocations: 19.44 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3644, allocations: 3.938 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.005816/0.3702, allocations: 2.293 MB / 1.179 GB, free: 9.73 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches