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.00108/0.00108, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.01067/0.01068, allocations: 169.4 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.718/1.718, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005632/0.0005632, allocations: 19.19 kB / 0.6743 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.247, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005012/0.2521, allocations: 3.914 MB / 0.7917 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00353/0.2556, allocations: 1.571 MB / 0.7932 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009425/0.2566, allocations: 31.81 kB / 0.7933 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.2571, allocations: 122.8 kB / 0.7934 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008241/0.2579, allocations: 182.8 kB / 0.7935 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.2594, allocations: 0.6196 MB / 0.7941 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.2605, allocations: 1.136 MB / 0.7953 GB, free: 4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006705/0.2612, allocations: 488.4 kB / 0.7957 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.2617, allocations: 349.8 kB / 0.7961 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/0.2622, allocations: 357.5 kB / 0.7964 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.825e-05/0.2623, allocations: 28 kB / 0.7964 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.235e-05/0.2624, allocations: 24 kB / 0.7964 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.2625, allocations: 143.1 kB / 0.7966 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.2629, allocations: 418.7 kB / 0.797 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000957/0.2639, allocations: 1.011 MB / 0.798 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2639, allocations: 0 / 0.798 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2639, allocations: 3.938 kB / 0.798 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.2639, allocations: 0 / 0.798 GB, free: 1.172 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.002419/0.2664, allocations: 1.247 MB / 0.7992 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.2665, allocations: 12.03 kB / 0.7992 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.2667, allocations: 123.4 kB / 0.7993 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.2679, allocations: 0.7353 MB / 0.8 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.268, allocations: 80.27 kB / 0.8001 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.2681, allocations: 68.38 kB / 0.8002 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.2694, allocations: 0.7524 MB / 0.8009 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2694, allocations: 0 / 0.8009 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.2694, allocations: 28 kB / 0.8009 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.2695, allocations: 16 kB / 0.801 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2706, allocations: 0.5282 MB / 0.8015 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.2742, allocations: 2.302 MB / 0.8037 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.2757, allocations: 0.6443 MB / 0.8044 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005739/0.2763, allocations: 289.2 kB / 0.8046 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/0.2763, allocations: 8.562 kB / 0.8046 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000707/0.277, allocations: 327.1 kB / 0.8049 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 2.765e-06/0.277, allocations: 0 / 0.8049 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001744/0.2788, allocations: 0.7673 MB / 0.8057 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.279, allocations: 93.61 kB / 0.8058 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.28, allocations: 0.7596 MB / 0.8065 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.2801, allocations: 41.7 kB / 0.8066 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/0.2806, allocations: 440.5 kB / 0.807 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.2808, allocations: 205 kB / 0.8072 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.2809, allocations: 57.69 kB / 0.8072 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2811, allocations: 334 kB / 0.8076 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/0.2815, allocations: 213.2 kB / 0.8078 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/0.282, allocations: 304.5 kB / 0.8081 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.2833, allocations: 0.5192 MB / 0.8086 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2833, allocations: 0 / 0.8086 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001341/0.2846, allocations: 0.6656 MB / 0.8092 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.269e-05/0.2847, allocations: 159.2 kB / 0.8094 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.51e-05/0.2848, allocations: 7.938 kB / 0.8094 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.2848, allocations: 8 kB / 0.8094 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/0.2854, allocations: 143.8 kB / 0.8095 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.2855, allocations: 8 kB / 0.8095 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.2859, allocations: 83.34 kB / 0.8096 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.2859, allocations: 16 kB / 0.8096 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.141e-06/0.2859, allocations: 7.938 kB / 0.8096 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009803/0.2869, allocations: 0.5324 MB / 0.8101 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2869, allocations: 0 / 0.8101 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-06/0.287, allocations: 4 kB / 0.8101 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.2876, allocations: 139.8 kB / 0.8103 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2876, allocations: 8 kB / 0.8103 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.288, allocations: 75.53 kB / 0.8104 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.288, allocations: 23.94 kB / 0.8104 GB, free: 4.043 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003049/0.2884, allocations: 299.8 kB / 0.8107 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.2885, allocations: 90.88 kB / 0.8108 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.2887, allocations: 105.2 kB / 0.8109 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2888, allocations: 4 kB / 0.8109 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2888, allocations: 0 / 0.8109 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.2888, allocations: 8.078 kB / 0.8109 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.2909, allocations: 1.462 MB / 0.8123 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2909, allocations: 3.984 kB / 0.8123 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.2915, allocations: 107.8 kB / 0.8124 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2915, allocations: 4 kB / 0.8124 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.2915, allocations: 15.94 kB / 0.8124 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2915, allocations: 0 / 0.8124 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2916, allocations: 0 / 0.8124 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.2933, allocations: 0.9783 MB / 0.8134 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.2936, allocations: 231.6 kB / 0.8136 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.2937, allocations: 12 kB / 0.8136 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.2941, allocations: 43.95 kB / 0.8136 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.2942, allocations: 36.52 kB / 0.8137 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.2943, allocations: 19.98 kB / 0.8137 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000593/0.2948, allocations: 0.5187 MB / 0.8142 GB, free: 16 kB / 0.6231 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2949, allocations: 0 / 0.8142 GB, free: 16 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007516/0.2956, allocations: 275.1 kB / 0.8145 GB, free: 15.74 MB / 0.6387 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 (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.0001348/0.2958, allocations: 115.2 kB / 0.8146 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001839/0.2976, allocations: 0.8035 MB / 0.8154 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2976, allocations: 0 / 0.8154 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006/0.2982, allocations: 283.7 kB / 0.8156 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.2994, allocations: 238 kB / 0.8159 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.3023, allocations: 1.944 MB / 0.8178 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007835/0.3031, allocations: 1.002 MB / 0.8187 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005073/0.3037, allocations: 115 kB / 0.8188 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.3038, allocations: 63.42 kB / 0.8189 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of SimCode: time 6.82e-07/0.3039, allocations: 0 / 0.8189 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of Templates: time 0.01857/0.3224, allocations: 8.689 MB / 0.8274 GB, free: 2.531 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: