Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001152, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001315/0.001315, allocations: 196.8 kB / 16.26 MB, free: 6.629 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.498/2.498, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 71.89 kB / 0.8121 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9588/0.9607, allocations: 140.3 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.002029/0.9628, allocations: 0.7382 MB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009519/0.9638, allocations: 0.829 MB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.9638, allocations: 1.375 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.9639, allocations: 3.984 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.964, allocations: 3.938 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.9642, allocations: 12.11 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.9643, allocations: 33.67 kB / 0.9507 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.9644, allocations: 10.73 kB / 0.9507 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.9645, allocations: 17.44 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.144e-05/0.9645, allocations: 12.11 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.9645, allocations: 2.75 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.9646, allocations: 4.125 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.9646, allocations: 11.92 kB / 0.9508 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.9646, allocations: 14.67 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.9647, allocations: 34.77 kB / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.9647, allocations: 0 / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9648, allocations: 4 kB / 0.9508 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.9648, allocations: 3.984 kB / 0.9508 GB, free: 7.785 MB / 0.7169 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.0005624/0.9653, allocations: 348.8 kB / 0.9511 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.9654, allocations: 9.625 kB / 0.9511 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.9654, allocations: 6.219 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.9656, allocations: 167.1 kB / 0.9513 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.9656, allocations: 4.312 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.9656, allocations: 7.125 kB / 0.9513 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.9658, allocations: 68.02 kB / 0.9514 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.9658, allocations: 192 / 0.9514 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.9659, allocations: 3.938 kB / 0.9514 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9659, allocations: 1.375 kB / 0.9514 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.9661, allocations: 54.19 kB / 0.9514 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.9665, allocations: 266.8 kB / 0.9517 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.9668, allocations: 63.16 kB / 0.9518 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.9669, allocations: 35.95 kB / 0.9518 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.9669, allocations: 1.375 kB / 0.9518 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.9669, allocations: 34.56 kB / 0.9518 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.967, allocations: 1.375 kB / 0.9518 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004716/0.9674, allocations: 117.8 kB / 0.9519 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.9675, allocations: 52.5 kB / 0.952 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.989e-05/0.9675, allocations: 101.1 kB / 0.9521 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.9676, allocations: 30.67 kB / 0.9521 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.9676, allocations: 85.16 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.9676, allocations: 13.17 kB / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.9677, allocations: 13.72 kB / 0.9522 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.9678, allocations: 310.8 kB / 0.9525 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.9679, allocations: 42.08 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.968, allocations: 46.83 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.9683, allocations: 59.58 kB / 0.9527 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9683, allocations: 3.938 kB / 0.9527 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002658/0.9686, allocations: 90.39 kB / 0.9528 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.9686, allocations: 5.188 kB / 0.9528 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.9686, allocations: 3.938 kB / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.9686, allocations: 0 / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.9688, allocations: 17.05 kB / 0.9528 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.9688, allocations: 1.156 kB / 0.9528 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.9689, allocations: 15.97 kB / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.9689, allocations: 0 / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.342e-05/0.969, allocations: 98.22 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.165e-05/0.969, allocations: 32.89 kB / 0.9529 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001266/0.9692, allocations: 40.41 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.91e-07/0.9692, allocations: 0 / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001676/0.9694, allocations: 72 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.9694, allocations: 4.812 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.9694, allocations: 5.484 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-06/0.9694, allocations: 4.125 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.9694, allocations: 5.594 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.9695, allocations: 9.266 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.9695, allocations: 10.8 kB / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-06/0.9695, allocations: 0 / 0.9531 GB, free: 5.629 MB / 0.7169 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 6.7e-05/0.9696, allocations: 181.8 kB / 0.9532 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.9696, allocations: 13.3 kB / 0.9533 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.9697, allocations: 4.875 kB / 0.9533 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.9697, allocations: 4 kB / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9697, allocations: 1.438 kB / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.9697, allocations: 0 / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.9698, allocations: 164.3 kB / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9698, allocations: 0 / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.9699, allocations: 11.98 kB / 0.9534 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.9699, allocations: 1.344 kB / 0.9534 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.9699, allocations: 0 / 0.9534 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9699, allocations: 0 / 0.9534 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.97, allocations: 1.156 kB / 0.9534 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.9702, allocations: 191.7 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.9703, allocations: 82.2 kB / 0.9537 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.9703, allocations: 5.25 kB / 0.9537 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.9704, allocations: 14.39 kB / 0.9537 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.9704, allocations: 5.5 kB / 0.9537 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.9704, allocations: 0 / 0.9537 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.917e-05/0.9705, allocations: 88.27 kB / 0.9538 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9705, allocations: 0 / 0.9538 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002589/0.9707, allocations: 11.56 kB / 0.9538 GB, free: 4.848 MB / 0.7169 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.0001471/0.9709, allocations: 98.78 kB / 0.9539 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.9713, allocations: 88.91 kB / 0.954 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.9713, allocations: 0 / 0.954 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.9714, allocations: 29.03 kB / 0.954 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.9717, allocations: 11.8 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.9721, allocations: 138 kB / 0.9542 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.9723, allocations: 0.6819 MB / 0.9548 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.047e-05/0.9723, allocations: 0.875 kB / 0.9548 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.9723, allocations: 10.59 kB / 0.9548 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9723, allocations: 0 / 0.9548 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of Templates: time 0.003044/0.9754, allocations: 0.5417 MB / 0.9554 GB, free: 3.578 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches