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.001283/0.001283, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.001255/0.001255, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.29/1.29, 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 10.1.1-maint.10.0.x/package.mo): time 2.386/2.386, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.8044, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.003158/0.8076, allocations: 1.802 MB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.8087, allocations: 0.5806 MB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.8089, allocations: 3.938 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.809, allocations: 27.73 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.8095, allocations: 71.61 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.8098, allocations: 79.89 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000363/0.8101, allocations: 271.3 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.8103, allocations: 36.28 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.8105, allocations: 107.6 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.8108, allocations: 135.4 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.385e-05/0.8109, allocations: 16 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.262e-05/0.811, allocations: 20 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.8111, allocations: 71.8 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.8113, allocations: 99.33 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.8117, allocations: 219.1 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8117, allocations: 0 / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.765e-06/0.8117, allocations: 0 / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.8117, allocations: 4 kB / 1.171 GB, free: 296 kB / 0.8887 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.00154/0.8133, allocations: 0.5372 MB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.8133, allocations: 8.031 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.8135, allocations: 24.66 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.814, allocations: 282.7 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.8141, allocations: 4.375 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.877e-05/0.8141, allocations: 20.28 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.8145, allocations: 158.4 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.8145, allocations: 4 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.8145, allocations: 11.92 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.8146, allocations: 8.234 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.8149, allocations: 140.6 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.816, allocations: 0.5444 MB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.8163, allocations: 179.6 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.8165, allocations: 68.83 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.8165, allocations: 0 / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.8165, allocations: 38.5 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 2.114e-06/0.8165, allocations: 0 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0005825/0.8171, allocations: 252.1 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.8172, allocations: 59.34 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.8176, allocations: 245 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.8176, allocations: 29.7 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.8178, allocations: 132.6 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.22e-05/0.8178, allocations: 70.92 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/0.8179, allocations: 45.7 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8181, allocations: 338.8 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.8183, allocations: 71.95 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.8184, allocations: 86.12 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.8187, allocations: 184.2 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8187, allocations: 0 / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000456/0.8192, allocations: 249.2 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.8192, allocations: 4 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.8193, allocations: 8 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.8193, allocations: 0 / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.8196, allocations: 71.84 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.8196, allocations: 3.938 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.8198, allocations: 23.83 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.8199, allocations: 4 kB / 1.174 GB, free: 12.23 MB / 0.9044 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.0001558/0.82, allocations: 141.8 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.8201, allocations: 27.72 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.952e-05/0.8202, allocations: 30.17 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.8202, allocations: 7.938 kB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8202, allocations: 0 / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8202, allocations: 0 / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.8206, allocations: 297.4 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.8206, allocations: 0 / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.8208, allocations: 31.98 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.8208, allocations: 4 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.8208, allocations: 7.984 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.8209, allocations: 3.938 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8209, allocations: 7.938 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.8214, allocations: 382.8 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.8215, allocations: 112.8 kB / 1.175 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.8216, allocations: 15.92 kB / 1.175 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.8218, allocations: 8 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.8218, allocations: 7.984 kB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.8218, allocations: 8 kB / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002739/0.8221, allocations: 188.5 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8221, allocations: 0 / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002906/0.8224, allocations: 47.91 kB / 1.176 GB, free: 10.83 MB / 0.9044 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.0001331/0.8226, allocations: 111.2 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.8229, allocations: 167.9 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8229, allocations: 8 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.8231, allocations: 78.88 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.8235, allocations: 48.28 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.8247, allocations: 0.6278 MB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.8251, allocations: 0.7554 MB / 1.177 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.8251, allocations: 27.42 kB / 1.178 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of SimCode: time 2.474e-06/0.8252, allocations: 0 / 1.178 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of Templates: time 0.004997/0.8302, allocations: 2.726 MB / 1.18 GB, free: 6.23 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches