Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007542/0.0007542, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0007858/0.0007858, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.564/1.564, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005355/0.0005355, allocations: 18.19 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2645, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004794/0.2694, allocations: 3.684 MB / 0.7909 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003187/0.2726, allocations: 1.54 MB / 0.7924 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005329/0.2732, allocations: 35.81 kB / 0.7924 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.2735, allocations: 126.8 kB / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005298/0.2741, allocations: 174.8 kB / 0.7927 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.2753, allocations: 0.5115 MB / 0.7932 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001064/0.2764, allocations: 1.054 MB / 0.7942 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005358/0.277, allocations: 351.4 kB / 0.7946 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004162/0.2774, allocations: 334 kB / 0.7949 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.2778, allocations: 337.8 kB / 0.7952 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.19e-05/0.2778, allocations: 31.94 kB / 0.7952 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.64e-05/0.2779, allocations: 24 kB / 0.7953 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.278, allocations: 139.2 kB / 0.7954 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.2782, allocations: 177.1 kB / 0.7956 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006831/0.2789, allocations: 0.8029 MB / 0.7963 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2789, allocations: 0 / 0.7963 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.166e-06/0.2789, allocations: 0 / 0.7963 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.2789, allocations: 3.938 kB / 0.7963 GB, free: 2.605 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002026/0.2809, allocations: 1.251 MB / 0.7976 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.281, allocations: 12.03 kB / 0.7976 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.2812, allocations: 122.5 kB / 0.7977 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.2823, allocations: 0.7074 MB / 0.7984 GB, free: 432 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.2824, allocations: 83.64 kB / 0.7985 GB, free: 340 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.373e-05/0.2825, allocations: 68 kB / 0.7985 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.2837, allocations: 0.7367 MB / 0.7992 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2838, allocations: 0 / 0.7992 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.2838, allocations: 36 kB / 0.7993 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.2839, allocations: 16 kB / 0.7993 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.2849, allocations: 0.5243 MB / 0.7998 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.288, allocations: 2.29 MB / 0.802 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.2893, allocations: 0.6403 MB / 0.8027 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/0.2898, allocations: 285.2 kB / 0.8029 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.104e-05/0.2899, allocations: 8.562 kB / 0.8029 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006333/0.2905, allocations: 335 kB / 0.8033 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 2.154e-06/0.2906, allocations: 0 / 0.8033 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001496/0.2921, allocations: 0.7598 MB / 0.804 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.2921, allocations: 85.67 kB / 0.8041 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008605/0.293, allocations: 0.7519 MB / 0.8048 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.2931, allocations: 41.7 kB / 0.8049 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.2934, allocations: 440.5 kB / 0.8053 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.2936, allocations: 209 kB / 0.8055 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.2936, allocations: 12 kB / 0.8055 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2938, allocations: 330.1 kB / 0.8058 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.2942, allocations: 209.2 kB / 0.806 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.2947, allocations: 312.4 kB / 0.8063 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.2952, allocations: 234.1 kB / 0.8065 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2952, allocations: 0 / 0.8065 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00113/0.2963, allocations: 0.6618 MB / 0.8072 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-05/0.2964, allocations: 155.1 kB / 0.8073 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2964, allocations: 3.938 kB / 0.8073 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.2965, allocations: 12 kB / 0.8073 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.2971, allocations: 151.8 kB / 0.8075 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.2971, allocations: 7.953 kB / 0.8075 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.2975, allocations: 79.34 kB / 0.8076 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.009e-05/0.2975, allocations: 20 kB / 0.8076 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.222e-06/0.2975, allocations: 8 kB / 0.8076 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009379/0.2985, allocations: 0.5208 MB / 0.8081 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.2985, allocations: 4.031 kB / 0.8081 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.2985, allocations: 8 kB / 0.8081 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.299, allocations: 139.8 kB / 0.8082 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.2991, allocations: 4 kB / 0.8083 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.2994, allocations: 67.42 kB / 0.8083 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.2994, allocations: 23.92 kB / 0.8083 GB, free: 5.93 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003445/0.2998, allocations: 307.9 kB / 0.8086 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2999, allocations: 90.88 kB / 0.8087 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.3001, allocations: 101.3 kB / 0.8088 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.3001, allocations: 8 kB / 0.8088 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.3001, allocations: 0 / 0.8088 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3001, allocations: 3.984 kB / 0.8088 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.3022, allocations: 1.458 MB / 0.8103 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.3022, allocations: 0 / 0.8103 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.3027, allocations: 107.9 kB / 0.8104 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3027, allocations: 0 / 0.8104 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.3028, allocations: 15.98 kB / 0.8104 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.3028, allocations: 4 kB / 0.8104 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3028, allocations: 0 / 0.8104 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.3044, allocations: 0.9746 MB / 0.8113 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.3047, allocations: 227.7 kB / 0.8115 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/0.3048, allocations: 12 kB / 0.8116 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.3051, allocations: 43.97 kB / 0.8116 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/0.3052, allocations: 36.5 kB / 0.8116 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.3053, allocations: 16 kB / 0.8116 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006057/0.3059, allocations: 0.5148 MB / 0.8121 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3059, allocations: 0 / 0.8121 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000687/0.3066, allocations: 275.1 kB / 0.8124 GB, free: 1.648 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001564/0.3067, allocations: 119.2 kB / 0.8125 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.3083, allocations: 0.7997 MB / 0.8133 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3083, allocations: 80 / 0.8133 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.3088, allocations: 283.7 kB / 0.8136 GB, free: 460 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.3099, allocations: 240.4 kB / 0.8138 GB, free: 224 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.3124, allocations: 1.827 MB / 0.8156 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.3129, allocations: 0.994 MB / 0.8166 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004577/0.3134, allocations: 118.8 kB / 0.8167 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.3136, allocations: 59.42 kB / 0.8167 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.3136, allocations: 0 / 0.8167 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of Templates: time 0.01463/0.3282, allocations: 8.406 MB / 0.8249 GB, free: 4.844 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) Environment - environmentSimulation: