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.001213/0.001213, allocations: 101.6 kB / 16.27 MB, free: 6.418 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.001088/0.001088, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.395/1.395, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.733/1.733, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001422/0.001422, allocations: 68.27 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2514, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.4524/0.7039, allocations: 4.393 MB / 0.7883 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002385/0.7063, allocations: 1.103 MB / 0.7894 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006977/0.7071, allocations: 28.06 kB / 0.7894 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.7076, allocations: 184.8 kB / 0.7896 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005808/0.7082, allocations: 140.9 kB / 0.7898 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.7088, allocations: 388.5 kB / 0.7901 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000933/0.7097, allocations: 1.143 MB / 0.7912 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008373/0.7106, allocations: 0.6585 MB / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003396/0.7109, allocations: 418.6 kB / 0.7923 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.7113, allocations: 478.7 kB / 0.7927 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.7114, allocations: 126 kB / 0.7929 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.7115, allocations: 124.8 kB / 0.793 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.7117, allocations: 269.7 kB / 0.7932 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.712, allocations: 0.5139 MB / 0.7937 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009028/0.7129, allocations: 1.416 MB / 0.7951 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7129, allocations: 1.781 kB / 0.7951 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.093e-06/0.7129, allocations: 0 / 0.7951 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.546e-05/0.7129, allocations: 0 / 0.7951 GB, free: 44.8 MB / 0.6544 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.002134/0.7151, allocations: 1.398 MB / 0.7965 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.7151, allocations: 6.906 kB / 0.7965 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.7153, allocations: 128.6 kB / 0.7966 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007185/0.716, allocations: 0.6151 MB / 0.7972 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.7161, allocations: 79.09 kB / 0.7973 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.7162, allocations: 103.9 kB / 0.7974 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.7175, allocations: 0.903 MB / 0.7983 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.7176, allocations: 4.125 kB / 0.7983 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/0.7176, allocations: 43.33 kB / 0.7983 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.7177, allocations: 25.31 kB / 0.7983 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.7188, allocations: 0.6497 MB / 0.799 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.7231, allocations: 2.854 MB / 0.8018 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.7243, allocations: 0.687 MB / 0.8024 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/0.725, allocations: 403.4 kB / 0.8028 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.725, allocations: 13.28 kB / 0.8028 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007766/0.7258, allocations: 360.2 kB / 0.8032 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 3.636e-06/0.7258, allocations: 0 / 0.8032 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.001784/0.7276, allocations: 0.838 MB / 0.804 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.7277, allocations: 167 kB / 0.8042 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009129/0.7286, allocations: 0.6245 MB / 0.8048 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.799e-05/0.7287, allocations: 42.39 kB / 0.8048 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.729, allocations: 464.8 kB / 0.8053 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.7292, allocations: 254 kB / 0.8055 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.7294, allocations: 135.7 kB / 0.8056 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.7295, allocations: 333.8 kB / 0.8059 GB, free: 38.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.7301, allocations: 250.6 kB / 0.8062 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008445/0.731, allocations: 382.8 kB / 0.8065 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.7324, allocations: 0.5628 MB / 0.8071 GB, free: 38.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7324, allocations: 4 kB / 0.8071 GB, free: 38.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001491/0.7339, allocations: 0.74 MB / 0.8078 GB, free: 37.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.7339, allocations: 4.625 kB / 0.8078 GB, free: 37.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.7339, allocations: 6.688 kB / 0.8078 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.734, allocations: 8.656 kB / 0.8078 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.7346, allocations: 154.8 kB / 0.808 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.7347, allocations: 5.406 kB / 0.808 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.7351, allocations: 98 kB / 0.8081 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.7352, allocations: 25.98 kB / 0.8081 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005963/0.7358, allocations: 364.2 kB / 0.8085 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000388/0.7362, allocations: 327.2 kB / 0.8088 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000648/0.7368, allocations: 490 kB / 0.8092 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.7369, allocations: 0 / 0.8092 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001003/0.7379, allocations: 0.643 MB / 0.8099 GB, free: 36.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.7379, allocations: 10 kB / 0.8099 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7379, allocations: 1.594 kB / 0.8099 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.7379, allocations: 3.906 kB / 0.8099 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.7385, allocations: 139.3 kB / 0.81 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.7385, allocations: 10.33 kB / 0.81 GB, free: 36.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.7389, allocations: 78.84 kB / 0.8101 GB, free: 36.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.739, allocations: 22.38 kB / 0.8101 GB, free: 36.84 MB / 0.6544 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.0002066/0.7392, allocations: 220.4 kB / 0.8103 GB, free: 36.63 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.7393, allocations: 86.14 kB / 0.8104 GB, free: 36.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.7395, allocations: 88.44 kB / 0.8105 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.7395, allocations: 11.8 kB / 0.8105 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/0.7395, allocations: 1.25 kB / 0.8105 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.7396, allocations: 3.562 kB / 0.8105 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.7423, allocations: 1.63 MB / 0.8121 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.7423, allocations: 1.875 kB / 0.8121 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/0.7429, allocations: 137.8 kB / 0.8122 GB, free: 35.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/0.743, allocations: 2.5 kB / 0.8122 GB, free: 35.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.743, allocations: 16.95 kB / 0.8123 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.477e-06/0.743, allocations: 5.844 kB / 0.8123 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.743, allocations: 0 / 0.8123 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.7449, allocations: 1.061 MB / 0.8133 GB, free: 35.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.7451, allocations: 160.2 kB / 0.8135 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-05/0.7452, allocations: 15.66 kB / 0.8135 GB, free: 35.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.7455, allocations: 42.86 kB / 0.8135 GB, free: 35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.7456, allocations: 43.58 kB / 0.8136 GB, free: 34.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.7457, allocations: 23.27 kB / 0.8136 GB, free: 34.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005668/0.7463, allocations: 440.9 kB / 0.814 GB, free: 34.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.92e-07/0.7463, allocations: 96 / 0.814 GB, free: 34.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008597/0.7471, allocations: 341.3 kB / 0.8143 GB, free: 34.66 MB / 0.6544 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.0001606/0.7473, allocations: 123 kB / 0.8144 GB, free: 34.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.7494, allocations: 0.9417 MB / 0.8154 GB, free: 34.24 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7495, allocations: 4.062 kB / 0.8154 GB, free: 34.24 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.75, allocations: 314 kB / 0.8157 GB, free: 34.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.7511, allocations: 178.7 kB / 0.8158 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.7542, allocations: 1.662 MB / 0.8175 GB, free: 33.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/0.7549, allocations: 1.011 MB / 0.8184 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.7552, allocations: 63.59 kB / 0.8185 GB, free: 32.44 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/0.7552, allocations: 4 kB / 0.8185 GB, free: 32.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.02405/0.7793, allocations: 10.15 MB / 0.8284 GB, free: 31.39 MB / 0.6544 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)