Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001576/0.001576, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.561/1.561, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.886/2.886, allocations: 437 MB / 0.71 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 71.88 kB / 0.8686 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8331, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002178/0.8353, allocations: 0.7432 MB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.8364, allocations: 0.8234 MB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.8364, allocations: 4 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.8365, allocations: 3.984 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.8365, allocations: 3.938 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.8367, allocations: 15.98 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.793e-05/0.8368, allocations: 39.86 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.8369, allocations: 7.984 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.837, allocations: 8 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.837, allocations: 15.92 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.837, allocations: 4 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.8371, allocations: 0 / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.8371, allocations: 3.984 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.8371, allocations: 15.92 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.992e-05/0.8372, allocations: 27.89 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8372, allocations: 8 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8372, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.8372, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005934/0.8378, allocations: 357.3 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8379, allocations: 12.03 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.8379, allocations: 0.9375 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.8381, allocations: 168.3 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.8381, allocations: 384 / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.8381, allocations: 4.375 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.8384, allocations: 66.16 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.8384, allocations: 192 / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.8384, allocations: 7.922 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.8384, allocations: 3.984 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.8387, allocations: 55.94 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.8391, allocations: 272.9 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.8394, allocations: 66.34 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.8395, allocations: 36.83 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.8395, allocations: 4 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.8396, allocations: 34.56 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8396, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004724/0.84, allocations: 109.7 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.8401, allocations: 55.39 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.8402, allocations: 105.9 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.8402, allocations: 25.7 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.8403, allocations: 92.12 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.8403, allocations: 11.83 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.8404, allocations: 13.72 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.8406, allocations: 314.9 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.8407, allocations: 36.83 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.8408, allocations: 45.67 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.8411, allocations: 52.91 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.8411, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002787/0.8414, allocations: 93.56 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8414, allocations: 8 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.8414, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.8414, allocations: 4.031 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.8415, allocations: 15.92 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.8416, allocations: 0 / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.8416, allocations: 11.98 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.8416, allocations: 3.984 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001201/0.8418, allocations: 100.1 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.641e-05/0.8419, allocations: 33.7 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001452/0.842, allocations: 36.81 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.21e-07/0.842, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0002114/0.8422, allocations: 73.5 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.8423, allocations: 7.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-06/0.8423, allocations: 128 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-06/0.8423, allocations: 8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.378e-05/0.8423, allocations: 7.984 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.8423, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.8424, allocations: 15.92 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-06/0.8424, allocations: 0 / 1.021 GB, free: 14.45 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 (2): * Single equations (assignments): 2 * 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.0001151/0.8425, allocations: 184.7 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.8426, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.8426, allocations: 7.516 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.8426, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8426, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.8426, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.8428, allocations: 169.5 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8428, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.8429, allocations: 11.98 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.8429, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.8429, allocations: 8.25 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.8429, allocations: 4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.843, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.8433, allocations: 191.4 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.8434, allocations: 81.02 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.8434, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.8435, allocations: 16.02 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.8435, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.8435, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.458e-05/0.8436, allocations: 87.27 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8436, allocations: 4 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002606/0.8439, allocations: 4 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001549/0.844, allocations: 99.25 kB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.8444, allocations: 83.84 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.8444, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.8446, allocations: 31.97 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.8449, allocations: 7.875 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.8453, allocations: 143.3 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.8457, allocations: 0.677 MB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.8457, allocations: 3.984 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.8457, allocations: 11.44 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.8457, allocations: 0 / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.003095/0.8488, allocations: 0.5218 MB / 1.023 GB, free: 11.96 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches