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.001258/0.001264, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001176, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.6/2.6, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 71.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7743/0.7758, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002056/0.7779, allocations: 0.6763 MB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.7789, allocations: 0.8351 MB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.7789, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.779, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.677e-05/0.7791, allocations: 3.938 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.7792, allocations: 19.92 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.7793, allocations: 27.98 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.7794, allocations: 15.92 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.7795, allocations: 15.92 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.7796, allocations: 19.92 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.7796, allocations: 4 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.7796, allocations: 4 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.7796, allocations: 3.984 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.7797, allocations: 15.94 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.113e-05/0.7797, allocations: 27.88 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7798, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7798, allocations: 8 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.7798, allocations: 0 / 1.019 GB, free: 0.8594 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.0005328/0.7803, allocations: 361.4 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.7804, allocations: 12.03 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.7804, allocations: 4.844 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.7805, allocations: 168.3 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.7805, allocations: 4.312 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.7806, allocations: 384 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.7808, allocations: 66.22 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.7808, allocations: 4.125 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7808, allocations: 3.938 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.7808, allocations: 0 / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.7811, allocations: 59.92 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.7815, allocations: 265 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.7817, allocations: 58.47 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.7819, allocations: 36.89 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.7819, allocations: 7.984 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.782, allocations: 34.5 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.782, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004585/0.7824, allocations: 117.6 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.7825, allocations: 51.41 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.395e-05/0.7826, allocations: 113.8 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.7826, allocations: 25.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.7826, allocations: 84.14 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.7827, allocations: 11.89 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.7827, allocations: 13.72 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7828, allocations: 310.8 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.7829, allocations: 36.86 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.7831, allocations: 41.62 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.7833, allocations: 64.89 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7833, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002872/0.7836, allocations: 93.56 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.7837, allocations: 8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7837, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.7837, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.7838, allocations: 16.02 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.7838, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.651e-05/0.7839, allocations: 11.98 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.7839, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001225/0.784, allocations: 108 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.094e-05/0.7841, allocations: 25.7 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001401/0.7843, allocations: 44.91 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.7843, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001855/0.7845, allocations: 65.61 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/0.7845, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-06/0.7845, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/0.7845, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.342e-05/0.7846, allocations: 12.02 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.7846, allocations: 7.875 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.313e-05/0.7846, allocations: 15.89 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-06/0.7847, allocations: 0 / 1.021 GB, free: 14.28 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 9.298e-05/0.7848, allocations: 180.2 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.7848, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.7848, allocations: 11.52 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.7848, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.7848, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7848, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.785, allocations: 169.5 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.785, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.7851, allocations: 11.98 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7851, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.7851, allocations: 256 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7851, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7851, allocations: 4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.7855, allocations: 187.4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.7855, allocations: 84.95 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.7855, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.7856, allocations: 15.98 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.7857, allocations: 4.031 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.7857, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.011e-05/0.7858, allocations: 83.27 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7858, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002745/0.786, allocations: 12 kB / 1.022 GB, free: 13.43 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.0001661/0.7862, allocations: 99.25 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.7866, allocations: 79.91 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7866, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.7868, allocations: 35.91 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.7872, allocations: 3.938 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.788, allocations: 137.7 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.7885, allocations: 0.6768 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.7885, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.7886, allocations: 15.42 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of SimCode: time 1.051e-06/0.7886, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.003816/0.7924, allocations: 0.5938 MB / 1.024 GB, free: 11.73 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