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.00143/0.00143, 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.001706/0.001706, allocations: 192.6 kB / 16.25 MB, free: 6.625 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.47/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.655/2.655, allocations: 437 MB / 0.71 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 63.91 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7799/0.7815, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002943/0.7845, allocations: 0.7393 MB / 1.018 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.7858, allocations: 0.8274 MB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.7859, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.7859, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.7861, allocations: 11.91 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.7863, allocations: 12 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.749e-05/0.7864, allocations: 35.86 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.7865, allocations: 11.98 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.7866, allocations: 15.94 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.7867, allocations: 19.92 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.7867, allocations: 0 / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.7867, allocations: 4 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.7868, allocations: 11.97 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.7868, allocations: 11.94 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.7869, allocations: 31.89 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7869, allocations: 0 / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.873e-06/0.787, allocations: 0 / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.787, allocations: 0 / 1.018 GB, free: 1 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.0006289/0.7876, allocations: 361.4 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.7877, allocations: 8.031 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.7877, allocations: 4.844 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.7879, allocations: 168.3 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.7879, allocations: 8.312 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.7879, allocations: 4.375 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.7882, allocations: 58.22 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.7882, allocations: 4.188 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.7882, allocations: 7.922 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.7883, allocations: 0 / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.7885, allocations: 55.94 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.789, allocations: 264.9 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.7893, allocations: 74.41 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.7894, allocations: 28.89 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.7894, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.7895, allocations: 34.56 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.7895, allocations: 4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004997/0.79, allocations: 113.5 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.7901, allocations: 63.28 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.7902, allocations: 97.86 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.7902, allocations: 33.83 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.7903, allocations: 88.12 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.7903, allocations: 3.906 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.7903, allocations: 13.72 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.7905, allocations: 314.8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.7906, allocations: 32.83 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.7908, allocations: 49.67 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.791, allocations: 52.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.791, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002957/0.7913, allocations: 101.6 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.7913, allocations: 7.938 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7913, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.7914, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.7915, allocations: 11.98 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.7915, allocations: 3.984 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.419e-05/0.7916, allocations: 20 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.7916, allocations: 4 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001304/0.7918, allocations: 96.12 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.19e-05/0.7918, allocations: 29.7 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001312/0.792, allocations: 36.81 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/0.792, allocations: 8.094 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0002005/0.7922, allocations: 65.55 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.7922, allocations: 8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.7922, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-06/0.7922, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.7923, allocations: 7.984 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-06/0.7923, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.284e-05/0.7924, allocations: 19.92 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-06/0.7924, allocations: 0 / 1.021 GB, free: 14.43 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.0001203/0.7925, allocations: 188.2 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.7925, allocations: 3.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.7926, allocations: 7.516 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7926, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.7926, allocations: 4.25 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7926, allocations: 3.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.7928, allocations: 165.6 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7928, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/0.7929, allocations: 11.98 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7929, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.793, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.793, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.793, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.7933, allocations: 191.4 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.7933, allocations: 81.02 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.7934, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.008e-05/0.7935, allocations: 11.98 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.7935, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.7935, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.7936, allocations: 91.27 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7936, allocations: 4.031 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002594/0.7938, allocations: 4 kB / 1.021 GB, free: 13.57 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.000185/0.794, allocations: 105.3 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.7944, allocations: 87.78 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7945, allocations: 4.125 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.7946, allocations: 27.97 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.7949, allocations: 7.938 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.7954, allocations: 133.5 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.7956, allocations: 0.6768 MB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.7957, allocations: 7.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.7957, allocations: 7.438 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7957, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.002676/0.7984, allocations: 0.5387 MB / 1.023 GB, free: 11.93 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=480 -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