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.000953/0.0009531, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005258/0.005258, allocations: 170 kB / 16.27 MB, free: 6.652 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.711/2.711, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 8 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7268/0.7272, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.001971/0.7292, allocations: 1.509 MB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009004/0.7301, allocations: 0.5652 MB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.474e-05/0.7302, allocations: 4 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.378e-05/0.7303, allocations: 15.86 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.7307, allocations: 67.3 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.7308, allocations: 79.84 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.7311, allocations: 255.4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.7313, allocations: 28.31 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.7314, allocations: 95.48 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.7316, allocations: 131.5 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.7317, allocations: 8 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.693e-05/0.7317, allocations: 8 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.7318, allocations: 63.73 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.908e-05/0.7319, allocations: 117.1 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.7321, allocations: 193.2 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7321, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7322, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.7322, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 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.0009813/0.7332, allocations: 0.5101 MB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7332, allocations: 8.031 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.7333, allocations: 28.66 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.7337, allocations: 278.7 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.7337, allocations: 20.17 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.7338, allocations: 12.38 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.7341, allocations: 151.6 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.7341, allocations: 3.984 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.7341, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.7341, allocations: 8.234 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.7344, allocations: 148.6 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008936/0.7353, allocations: 0.5521 MB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.7357, allocations: 184.5 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.7358, allocations: 72.83 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.7358, allocations: 4 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.7359, allocations: 38.56 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.243e-06/0.7359, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0005048/0.7364, allocations: 257.5 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.7364, allocations: 59.34 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.7368, allocations: 249 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.7368, allocations: 29.7 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.7369, allocations: 132.6 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.546e-05/0.737, allocations: 67.02 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.7371, allocations: 29.7 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7372, allocations: 330.8 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.7374, allocations: 83.89 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.7375, allocations: 89.27 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.7378, allocations: 180.7 kB / 1.029 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.7379, allocations: 0 / 1.029 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004072/0.7383, allocations: 249.3 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.7383, allocations: 13.34 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7383, allocations: 3.984 kB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.7383, allocations: 7.938 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.7387, allocations: 63.97 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.7387, allocations: 4 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.7389, allocations: 19.83 kB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.7389, allocations: 8 kB / 1.03 GB, free: 8.66 MB / 0.7794 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.0001226/0.739, allocations: 138.3 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.7391, allocations: 27.66 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.7391, allocations: 34.17 kB / 1.03 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.7392, allocations: 3.938 kB / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7392, allocations: 0 / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.7392, allocations: 0 / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.7395, allocations: 309.3 kB / 1.03 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7395, allocations: 7.938 kB / 1.03 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.7397, allocations: 31.92 kB / 1.03 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7398, allocations: 0 / 1.03 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.7398, allocations: 8 kB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.7398, allocations: 11.94 kB / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7398, allocations: 3.984 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.7403, allocations: 368.2 kB / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.7405, allocations: 120.7 kB / 1.031 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.7405, allocations: 11.94 kB / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.7407, allocations: 15.98 kB / 1.031 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.7408, allocations: 11.98 kB / 1.031 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.7408, allocations: 4 kB / 1.031 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002806/0.7411, allocations: 180.5 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.31e-07/0.7411, allocations: 0 / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002855/0.7414, allocations: 48 kB / 1.031 GB, free: 7.266 MB / 0.7794 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.0001324/0.7415, allocations: 113.4 kB / 1.031 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003629/0.7419, allocations: 181.7 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.7419, allocations: 0 / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.7421, allocations: 83.89 kB / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.7425, allocations: 39.86 kB / 1.031 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.7438, allocations: 0.6938 MB / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.7441, allocations: 0.7557 MB / 1.033 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.7443, allocations: 57.48 kB / 1.033 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.7443, allocations: 19.44 kB / 1.033 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of SimCode: time 7.11e-07/0.7443, allocations: 0 / 1.033 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.005255/0.7496, allocations: 2.056 MB / 1.035 GB, free: 3.219 MB / 0.7794 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