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.001153/0.001153, allocations: 109.6 kB / 15.99 MB, free: 6.355 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.001193/0.001193, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 13.68 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.447/2.447, allocations: 437 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 79.66 kB / 0.8694 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3041, allocations: 151.6 MB / 1.017 GB, free: 10.95 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001912/0.3061, allocations: 0.7417 MB / 1.018 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.3071, allocations: 0.8288 MB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.3072, allocations: 0 / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.3072, allocations: 3.984 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.3073, allocations: 3.938 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.3074, allocations: 16 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.705e-05/0.3075, allocations: 35.92 kB / 1.019 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.3076, allocations: 11.92 kB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.3077, allocations: 12 kB / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.3077, allocations: 19.91 kB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3077, allocations: 0 / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-06/0.3078, allocations: 4 kB / 1.019 GB, free: 9.258 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.3078, allocations: 11.98 kB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.3078, allocations: 7.938 kB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.005e-05/0.3079, allocations: 23.95 kB / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3079, allocations: 0 / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3079, allocations: 4 kB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3079, allocations: 0 / 1.019 GB, free: 9.211 MB / 0.795 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.0005105/0.3084, allocations: 359.6 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3085, allocations: 12.92 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.3085, allocations: 4.875 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.3086, allocations: 168.3 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.3086, allocations: 4.375 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.3086, allocations: 384 / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.3089, allocations: 66.22 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.3089, allocations: 4.125 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3089, allocations: 3.938 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3089, allocations: 0 / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.3091, allocations: 55.94 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.3095, allocations: 268.8 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.3097, allocations: 66.41 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.3098, allocations: 40.89 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3099, allocations: 7.984 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3099, allocations: 30.56 kB / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3099, allocations: 0 / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0004462/0.3103, allocations: 113.5 kB / 1.02 GB, free: 7.859 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.3104, allocations: 51.41 kB / 1.02 GB, free: 7.797 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.3105, allocations: 105.8 kB / 1.02 GB, free: 7.684 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3105, allocations: 25.7 kB / 1.02 GB, free: 7.652 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.3106, allocations: 88.14 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.3107, allocations: 3.906 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.3107, allocations: 17.7 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3109, allocations: 319 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.311, allocations: 32.83 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.3112, allocations: 37.69 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.3114, allocations: 64.89 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3114, allocations: 0 / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002602/0.3117, allocations: 93.5 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3117, allocations: 8 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3117, allocations: 0 / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3117, allocations: 4.031 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3118, allocations: 11.98 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3118, allocations: 0 / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-05/0.3119, allocations: 11.98 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.3119, allocations: 4 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001145/0.312, allocations: 100.1 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.985e-05/0.3121, allocations: 33.7 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001298/0.3123, allocations: 32.83 kB / 1.021 GB, free: 6.758 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.875e-06/0.3123, allocations: 0 / 1.021 GB, free: 6.758 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001871/0.3125, allocations: 85.36 kB / 1.021 GB, free: 6.668 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/0.3125, allocations: 4 kB / 1.021 GB, free: 6.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-06/0.3125, allocations: 4.125 kB / 1.021 GB, free: 6.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-06/0.3125, allocations: 7.938 kB / 1.021 GB, free: 6.652 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.3126, allocations: 7.984 kB / 1.021 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-06/0.3126, allocations: 0 / 1.021 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.3126, allocations: 19.92 kB / 1.021 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-06/0.3126, allocations: 0 / 1.021 GB, free: 6.625 MB / 0.795 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 8.702e-05/0.3127, allocations: 180.2 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.3128, allocations: 7.984 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.3128, allocations: 7.531 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3128, allocations: 0 / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3128, allocations: 0 / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3128, allocations: 3.984 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.313, allocations: 165.6 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.313, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.3131, allocations: 16.22 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3131, allocations: 0 / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3131, allocations: 8 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3131, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3131, allocations: 4 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.3134, allocations: 183.4 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.3135, allocations: 85 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3135, allocations: 0 / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.3136, allocations: 16.02 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.3137, allocations: 0 / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3137, allocations: 0 / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.3137, allocations: 87.27 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3137, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002564/0.314, allocations: 8 kB / 1.022 GB, free: 5.777 MB / 0.795 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.0001472/0.3141, allocations: 99.25 kB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003527/0.3145, allocations: 83.86 kB / 1.022 GB, free: 5.586 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3145, allocations: 0 / 1.022 GB, free: 5.586 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3146, allocations: 27.97 kB / 1.022 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3149, allocations: 11.92 kB / 1.022 GB, free: 5.547 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.3153, allocations: 155.5 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.3156, allocations: 0.6806 MB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.3156, allocations: 7.438 kB / 1.023 GB, free: 4.648 MB / 0.795 GB Notification: Performance of SimCode: time 2.9e-07/0.3156, allocations: 0 / 1.023 GB, free: 4.648 MB / 0.795 GB Notification: Performance of Templates: time 0.002148/0.3178, allocations: 0.6365 MB / 1.024 GB, free: 4.016 MB / 0.795 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/jenkins1/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