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.001218/0.001218, allocations: 105.2 kB / 16.41 MB, free: 6.508 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.001259/0.001259, allocations: 187 kB / 17.34 MB, free: 5.742 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7354 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7292/0.7305, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002722/0.7332, allocations: 1.809 MB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009659/0.7342, allocations: 0.5689 MB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.7343, allocations: 3.938 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.7345, allocations: 27.72 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.7349, allocations: 63.61 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.7351, allocations: 87.88 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.7355, allocations: 275.3 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.7356, allocations: 36.22 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.7358, allocations: 107.5 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.736, allocations: 143.5 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.7361, allocations: 16 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.069e-05/0.7361, allocations: 20 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.459e-05/0.7362, allocations: 63.81 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.756e-05/0.7363, allocations: 103.4 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.7365, allocations: 215 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.7366, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7366, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.7366, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 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.001057/0.7376, allocations: 0.5392 MB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.7377, allocations: 12.03 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.7378, allocations: 28.66 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.7382, allocations: 278.7 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.7382, allocations: 12.38 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.7383, allocations: 16.28 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.7386, allocations: 150.5 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.7386, allocations: 0 / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.7386, allocations: 4 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.7386, allocations: 8.234 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.7389, allocations: 144.6 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.7398, allocations: 0.5405 MB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.7401, allocations: 178.4 kB / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.7403, allocations: 76.83 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.7403, allocations: 7.984 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.7403, allocations: 30.56 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 2.776e-06/0.7403, allocations: 0 / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.000498/0.7409, allocations: 255.6 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.7409, allocations: 55.34 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.7413, allocations: 249 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.7413, allocations: 29.7 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.7414, allocations: 124.6 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/0.7414, allocations: 78.91 kB / 1.215 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/0.7415, allocations: 45.7 kB / 1.215 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7416, allocations: 334.8 kB / 1.215 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.7418, allocations: 75.95 kB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.7419, allocations: 83.95 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.7422, allocations: 185 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.7423, allocations: 0 / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003989/0.7427, allocations: 253.2 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.7427, allocations: 7.938 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.7427, allocations: 0 / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7427, allocations: 3.984 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.743, allocations: 71.84 kB / 1.216 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7431, allocations: 8 kB / 1.216 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.7432, allocations: 15.83 kB / 1.216 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.7433, allocations: 8 kB / 1.216 GB, free: 6.027 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.0001139/0.7434, allocations: 137.8 kB / 1.216 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.7435, allocations: 23.66 kB / 1.216 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/0.7435, allocations: 30.17 kB / 1.216 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.7435, allocations: 7.938 kB / 1.216 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7436, allocations: 0 / 1.216 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7436, allocations: 4 kB / 1.216 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.7439, allocations: 301.4 kB / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7439, allocations: 0 / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.7441, allocations: 31.98 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7441, allocations: 0 / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.7441, allocations: 8 kB / 1.216 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.7442, allocations: 3.938 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7442, allocations: 4 kB / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.7447, allocations: 380.6 kB / 1.216 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.7448, allocations: 116.8 kB / 1.217 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.7448, allocations: 11.94 kB / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.745, allocations: 11.98 kB / 1.217 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.7451, allocations: 11.98 kB / 1.217 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.7451, allocations: 4 kB / 1.217 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002799/0.7454, allocations: 180.5 kB / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7454, allocations: 0 / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002963/0.7457, allocations: 51.91 kB / 1.217 GB, free: 4.645 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.0001102/0.7458, allocations: 103.2 kB / 1.217 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.7462, allocations: 179.6 kB / 1.217 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7462, allocations: 0 / 1.217 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.7463, allocations: 83.89 kB / 1.217 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.7467, allocations: 47.69 kB / 1.217 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.7479, allocations: 0.6317 MB / 1.218 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.7482, allocations: 0.7632 MB / 1.219 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.753e-05/0.7483, allocations: 19.44 kB / 1.219 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.7483, allocations: 0 / 1.219 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of Templates: time 0.004467/0.7528, allocations: 2.725 MB / 1.221 GB, free: 40 kB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches