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.0007959/0.000796, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005101/0.005101, allocations: 174.6 kB / 16.27 MB, free: 6.613 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.337/1.337, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.757/1.757, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005526/0.0005526, allocations: 12.59 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2276, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004164/0.2318, allocations: 3.914 MB / 0.7917 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.2337, allocations: 1.054 MB / 0.7927 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003655/0.2341, allocations: 19.94 kB / 0.7928 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.2345, allocations: 142.7 kB / 0.7929 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004419/0.2349, allocations: 91.25 kB / 0.793 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.2355, allocations: 331.7 kB / 0.7933 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009993/0.2365, allocations: 1.065 MB / 0.7943 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008916/0.2374, allocations: 0.6238 MB / 0.795 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.2377, allocations: 266.2 kB / 0.7952 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.238, allocations: 329.5 kB / 0.7955 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.11e-05/0.238, allocations: 28 kB / 0.7955 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.022e-05/0.2381, allocations: 28 kB / 0.7956 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.2383, allocations: 151.1 kB / 0.7957 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.2386, allocations: 418.6 kB / 0.7961 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2398, allocations: 1.3 MB / 0.7974 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.2398, allocations: 3.984 kB / 0.7974 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2398, allocations: 0 / 0.7974 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.2398, allocations: 0 / 0.7974 GB, free: 1.781 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.002379/0.2422, allocations: 1.227 MB / 0.7986 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.2423, allocations: 8.031 kB / 0.7986 GB, free: 500 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.2425, allocations: 135.3 kB / 0.7987 GB, free: 364 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008468/0.2434, allocations: 0.6181 MB / 0.7993 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.2435, allocations: 70.38 kB / 0.7994 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.2436, allocations: 104.3 kB / 0.7995 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.2452, allocations: 0.9218 MB / 0.8004 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.2452, allocations: 4.125 kB / 0.8004 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/0.2453, allocations: 47.91 kB / 0.8004 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.2453, allocations: 28 kB / 0.8005 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.2465, allocations: 0.6832 MB / 0.8011 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.2504, allocations: 2.88 MB / 0.804 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.2517, allocations: 0.7263 MB / 0.8047 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006472/0.2523, allocations: 422.8 kB / 0.8051 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.2524, allocations: 8.656 kB / 0.8051 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006996/0.2531, allocations: 384.2 kB / 0.8054 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 2.896e-06/0.2531, allocations: 0 / 0.8054 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001672/0.2548, allocations: 0.8874 MB / 0.8063 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.2549, allocations: 166.9 kB / 0.8065 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/0.2556, allocations: 0.6293 MB / 0.8071 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.2557, allocations: 37.7 kB / 0.8071 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.256, allocations: 460.2 kB / 0.8076 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.2561, allocations: 260.2 kB / 0.8078 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.2562, allocations: 77.67 kB / 0.8079 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2563, allocations: 330 kB / 0.8082 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/0.2568, allocations: 265.9 kB / 0.8084 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.2574, allocations: 386 kB / 0.8088 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.2584, allocations: 0.5964 MB / 0.8094 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.2584, allocations: 0 / 0.8094 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001297/0.2597, allocations: 0.7777 MB / 0.8102 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.123e-05/0.2598, allocations: 128.4 kB / 0.8103 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.2598, allocations: 0 / 0.8103 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2599, allocations: 4 kB / 0.8103 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.2605, allocations: 171.7 kB / 0.8104 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2605, allocations: 4 kB / 0.8104 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.2609, allocations: 115.2 kB / 0.8106 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.261, allocations: 27.98 kB / 0.8106 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.261, allocations: 8 kB / 0.8106 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007794/0.2618, allocations: 0.5427 MB / 0.8111 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.2618, allocations: 0 / 0.8111 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/0.2618, allocations: 7.938 kB / 0.8111 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.2623, allocations: 139.8 kB / 0.8113 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2623, allocations: 4 kB / 0.8113 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.2626, allocations: 87.47 kB / 0.8114 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.2626, allocations: 20 kB / 0.8114 GB, free: 3.07 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.0003638/0.263, allocations: 309.6 kB / 0.8117 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.2631, allocations: 82.97 kB / 0.8117 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.2633, allocations: 88.2 kB / 0.8118 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.2633, allocations: 11.94 kB / 0.8118 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.2633, allocations: 3.938 kB / 0.8118 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.2633, allocations: 7.984 kB / 0.8119 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.2656, allocations: 1.652 MB / 0.8135 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2656, allocations: 3.984 kB / 0.8135 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.2662, allocations: 147.8 kB / 0.8136 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2662, allocations: 0 / 0.8136 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.2663, allocations: 15.98 kB / 0.8136 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2663, allocations: 4 kB / 0.8136 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2663, allocations: 0 / 0.8136 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.268, allocations: 1.104 MB / 0.8147 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2682, allocations: 171.9 kB / 0.8149 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.2683, allocations: 16 kB / 0.8149 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.2686, allocations: 51.97 kB / 0.8149 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.2687, allocations: 40.59 kB / 0.815 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.2688, allocations: 23.98 kB / 0.815 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005031/0.2693, allocations: 439.1 kB / 0.8154 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2693, allocations: 0 / 0.8154 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007155/0.27, allocations: 334.3 kB / 0.8157 GB, free: 14.5 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.0001741/0.2702, allocations: 135.2 kB / 0.8159 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.2718, allocations: 0.9386 MB / 0.8168 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2718, allocations: 0.5 kB / 0.8168 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005218/0.2723, allocations: 327.6 kB / 0.8171 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008289/0.2732, allocations: 166.9 kB / 0.8173 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.2758, allocations: 2.09 MB / 0.8193 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.2763, allocations: 1.006 MB / 0.8203 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003421/0.2767, allocations: 97.97 kB / 0.8204 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.2768, allocations: 59.42 kB / 0.8204 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of SimCode: time 5e-07/0.2769, allocations: 4 kB / 0.8204 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of Templates: time 0.01319/0.29, allocations: 7.442 MB / 0.8277 GB, free: 2.254 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: