Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 108 kB / 15.61 MB, free: 152 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.002093/0.002093, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.402/1.402, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.671/1.671, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.00145/0.001451, allocations: 69.58 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2455, allocations: 114.6 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.005522/0.2511, allocations: 4.401 MB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.2532, allocations: 1.104 MB / 0.7888 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.2537, allocations: 31.81 kB / 0.7888 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.2542, allocations: 186 kB / 0.789 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004573/0.2546, allocations: 138.5 kB / 0.7891 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.2552, allocations: 387.4 kB / 0.7895 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.2562, allocations: 1.147 MB / 0.7906 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000802/0.2571, allocations: 0.6629 MB / 0.7912 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.2574, allocations: 406.2 kB / 0.7916 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.2577, allocations: 489.3 kB / 0.7921 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.2579, allocations: 124 kB / 0.7922 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.258, allocations: 124 kB / 0.7923 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.2582, allocations: 263.1 kB / 0.7926 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.2585, allocations: 0.5165 MB / 0.7931 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009737/0.2595, allocations: 1.417 MB / 0.7945 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2595, allocations: 0 / 0.7945 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2595, allocations: 3.938 kB / 0.7945 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.2595, allocations: 0 / 0.7945 GB, free: 2.008 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002111/0.2616, allocations: 1.395 MB / 0.7958 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2617, allocations: 8.031 kB / 0.7958 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.2619, allocations: 131.4 kB / 0.796 GB, free: 428 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007465/0.2626, allocations: 0.6256 MB / 0.7966 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.2627, allocations: 74.38 kB / 0.7967 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.2628, allocations: 96.38 kB / 0.7967 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.2642, allocations: 0.8984 MB / 0.7976 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.2642, allocations: 12.11 kB / 0.7976 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.2643, allocations: 43.94 kB / 0.7977 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.2643, allocations: 24 kB / 0.7977 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.2655, allocations: 0.648 MB / 0.7983 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.2693, allocations: 2.857 MB / 0.8011 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2704, allocations: 0.695 MB / 0.8018 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/0.2711, allocations: 406.9 kB / 0.8022 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.2711, allocations: 12.64 kB / 0.8022 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/0.2718, allocations: 356.3 kB / 0.8025 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 3.006e-06/0.2718, allocations: 4 kB / 0.8025 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.00157/0.2734, allocations: 0.8366 MB / 0.8034 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/0.2735, allocations: 170.9 kB / 0.8035 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.2742, allocations: 0.6254 MB / 0.8041 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.2742, allocations: 41.7 kB / 0.8042 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.2746, allocations: 460.2 kB / 0.8046 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.2747, allocations: 252.2 kB / 0.8049 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.2749, allocations: 130.7 kB / 0.805 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.275, allocations: 330 kB / 0.8053 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.2755, allocations: 256.7 kB / 0.8055 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.2761, allocations: 378 kB / 0.8059 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000992/0.2771, allocations: 0.5652 MB / 0.8064 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2771, allocations: 0 / 0.8064 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001276/0.2784, allocations: 0.7426 MB / 0.8072 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2785, allocations: 4 kB / 0.8072 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2785, allocations: 4 kB / 0.8072 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2785, allocations: 7.938 kB / 0.8072 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.2791, allocations: 151.8 kB / 0.8073 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.2791, allocations: 11.92 kB / 0.8073 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.2795, allocations: 99.23 kB / 0.8074 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.2796, allocations: 24 kB / 0.8075 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005099/0.2801, allocations: 366.1 kB / 0.8078 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003755/0.2805, allocations: 322.2 kB / 0.8081 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006327/0.2811, allocations: 486.8 kB / 0.8086 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.438e-06/0.2811, allocations: 11.92 kB / 0.8086 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.0008664/0.282, allocations: 0.6488 MB / 0.8092 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.282, allocations: 7.938 kB / 0.8092 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.282, allocations: 0 / 0.8092 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.282, allocations: 4 kB / 0.8092 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.2825, allocations: 135.8 kB / 0.8094 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2825, allocations: 4 kB / 0.8094 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.2828, allocations: 83.42 kB / 0.8095 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.2829, allocations: 24.12 kB / 0.8095 GB, free: 2.203 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.000181/0.2831, allocations: 226.9 kB / 0.8097 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-05/0.2832, allocations: 86.91 kB / 0.8098 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.2833, allocations: 88.25 kB / 0.8099 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.2833, allocations: 8 kB / 0.8099 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.2833, allocations: 0 / 0.8099 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2834, allocations: 3.984 kB / 0.8099 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.2855, allocations: 1.624 MB / 0.8115 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2855, allocations: 4 kB / 0.8115 GB, free: 112 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.2861, allocations: 131.9 kB / 0.8116 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.2861, allocations: 8 kB / 0.8116 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.2862, allocations: 15.94 kB / 0.8116 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2862, allocations: 4 kB / 0.8116 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2862, allocations: 4 kB / 0.8116 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.2878, allocations: 1.053 MB / 0.8126 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.2879, allocations: 164 kB / 0.8128 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.564e-05/0.288, allocations: 16 kB / 0.8128 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.2884, allocations: 39.95 kB / 0.8129 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.2884, allocations: 44.59 kB / 0.8129 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.2885, allocations: 16 kB / 0.8129 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000488/0.289, allocations: 451 kB / 0.8133 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.289, allocations: 0 / 0.8133 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007209/0.2897, allocations: 330.3 kB / 0.8137 GB, free: 13.82 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001847/0.2899, allocations: 129.9 kB / 0.8138 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.2918, allocations: 0.9424 MB / 0.8147 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2918, allocations: 0 / 0.8147 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005185/0.2924, allocations: 315.6 kB / 0.815 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/0.2931, allocations: 180 kB / 0.8152 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.2956, allocations: 1.65 MB / 0.8168 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.2962, allocations: 1.009 MB / 0.8178 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000344/0.2965, allocations: 89.91 kB / 0.8179 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.2967, allocations: 59.42 kB / 0.8179 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.2967, allocations: 0 / 0.8179 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of Templates: time 0.0143/0.311, allocations: 7.884 MB / 0.8256 GB, free: 1.598 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)