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.001191/0.001191, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001612/0.001612, allocations: 168.7 kB / 15.95 MB, free: 204 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.736/1.736, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.833/1.833, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.000576/0.0005761, allocations: 20.55 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.254, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004687/0.2588, allocations: 3.657 MB / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002534/0.2613, allocations: 1.038 MB / 0.7919 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.2625, allocations: 19.94 kB / 0.7919 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.2632, allocations: 134.7 kB / 0.792 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.2643, allocations: 87.25 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000928/0.2652, allocations: 247.6 kB / 0.7924 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.2669, allocations: 0.9989 MB / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009878/0.2679, allocations: 477.1 kB / 0.7938 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/0.2683, allocations: 250.4 kB / 0.794 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004478/0.2687, allocations: 313.8 kB / 0.7943 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.2689, allocations: 31.94 kB / 0.7944 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.269, allocations: 24 kB / 0.7944 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.2692, allocations: 143.2 kB / 0.7945 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.2694, allocations: 177.1 kB / 0.7947 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.2708, allocations: 1.087 MB / 0.7957 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.2709, allocations: 4 kB / 0.7958 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2709, allocations: 0 / 0.7958 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.513e-05/0.2709, allocations: 0 / 0.7958 GB, free: 3.207 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.00277/0.2737, allocations: 1.251 MB / 0.797 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.2738, allocations: 8.031 kB / 0.797 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004332/0.2742, allocations: 130.4 kB / 0.7971 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.2756, allocations: 0.5976 MB / 0.7977 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/0.2757, allocations: 74 kB / 0.7978 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.2759, allocations: 96 kB / 0.7978 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.2783, allocations: 0.9134 MB / 0.7987 GB, free: 28 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.2783, allocations: 0 / 0.7987 GB, free: 28 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.2785, allocations: 48.06 kB / 0.7988 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.2785, allocations: 20 kB / 0.7988 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.2803, allocations: 0.6715 MB / 0.7995 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005341/0.2857, allocations: 2.892 MB / 0.8023 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.287, allocations: 0.7302 MB / 0.803 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006651/0.2877, allocations: 410.9 kB / 0.8034 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.2877, allocations: 12.66 kB / 0.8034 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007574/0.2885, allocations: 376.3 kB / 0.8038 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 3.086e-06/0.2885, allocations: 0 / 0.8038 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001822/0.2903, allocations: 0.8757 MB / 0.8046 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.2905, allocations: 174.8 kB / 0.8048 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008748/0.2914, allocations: 0.6138 MB / 0.8054 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.631e-05/0.2915, allocations: 41.7 kB / 0.8054 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.2918, allocations: 472.1 kB / 0.8059 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.292, allocations: 248.3 kB / 0.8061 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.2921, allocations: 16 kB / 0.8061 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2922, allocations: 330 kB / 0.8064 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/0.2927, allocations: 253.9 kB / 0.8067 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/0.2933, allocations: 393.9 kB / 0.8071 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006823/0.294, allocations: 306.9 kB / 0.8074 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2941, allocations: 0 / 0.8074 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001348/0.2954, allocations: 0.7543 MB / 0.8081 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.182e-05/0.2955, allocations: 124.5 kB / 0.8082 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.2955, allocations: 4 kB / 0.8082 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.2956, allocations: 7.953 kB / 0.8082 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.2962, allocations: 167.7 kB / 0.8084 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.2962, allocations: 4 kB / 0.8084 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.2966, allocations: 115.2 kB / 0.8085 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.2967, allocations: 27.98 kB / 0.8085 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.2967, allocations: 4 kB / 0.8085 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008506/0.2976, allocations: 0.5388 MB / 0.809 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2976, allocations: 4 kB / 0.8091 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.2976, allocations: 4 kB / 0.8091 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.2981, allocations: 144 kB / 0.8092 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2981, allocations: 4 kB / 0.8092 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.2984, allocations: 83.34 kB / 0.8093 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.2984, allocations: 20 kB / 0.8093 GB, free: 4.973 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,$whenCondition1,limPIDInp.trigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003938/0.2988, allocations: 314.2 kB / 0.8096 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.299, allocations: 86.97 kB / 0.8097 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.2992, allocations: 88.27 kB / 0.8098 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.2992, allocations: 4 kB / 0.8098 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.2992, allocations: 0 / 0.8098 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.2992, allocations: 7.984 kB / 0.8098 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/0.3018, allocations: 1.648 MB / 0.8114 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3018, allocations: 4 kB / 0.8114 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/0.3024, allocations: 143.8 kB / 0.8115 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3024, allocations: 7.875 kB / 0.8115 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.3025, allocations: 19.98 kB / 0.8115 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3025, allocations: 4 kB / 0.8116 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3025, allocations: 3.984 kB / 0.8116 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.3042, allocations: 1.1 MB / 0.8126 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.3044, allocations: 160 kB / 0.8128 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.152e-05/0.3045, allocations: 16 kB / 0.8128 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.3048, allocations: 51.97 kB / 0.8128 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.3049, allocations: 44.59 kB / 0.8129 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.3049, allocations: 23.98 kB / 0.8129 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005107/0.3054, allocations: 431.1 kB / 0.8133 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3054, allocations: 4 kB / 0.8133 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007373/0.3062, allocations: 338.2 kB / 0.8137 GB, free: 412 kB / 0.6231 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 (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.0001637/0.3063, allocations: 134 kB / 0.8138 GB, free: 272 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.308, allocations: 0.9347 MB / 0.8147 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.308, allocations: 0 / 0.8147 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005482/0.3085, allocations: 332.1 kB / 0.815 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007697/0.3093, allocations: 161.6 kB / 0.8152 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.3122, allocations: 1.977 MB / 0.8171 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.3128, allocations: 1.01 MB / 0.8181 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003882/0.3132, allocations: 97.91 kB / 0.8182 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.3134, allocations: 59.42 kB / 0.8182 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.3134, allocations: 0 / 0.8182 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of Templates: time 0.01416/0.3275, allocations: 7.155 MB / 0.8252 GB, free: 4.574 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: