Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.521/1.521, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009692/0.0009691, allocations: 175.2 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007885/0.0007883, allocations: 99.56 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003519, allocations: 14.03 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2387, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.0037/0.2425, allocations: 4.089 MB / 0.9008 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.2455, allocations: 1.392 MB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008004/0.2463, allocations: 27.88 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.2468, allocations: 154.6 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004979/0.2473, allocations: 95.19 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.2478, allocations: 347.7 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007277/0.2486, allocations: 1.084 MB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007216/0.2493, allocations: 0.6515 MB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.2496, allocations: 274.1 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.2498, allocations: 349.3 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.2499, allocations: 24 kB / 0.905 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.122e-05/0.25, allocations: 28 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.2501, allocations: 147.1 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.2503, allocations: 404.8 kB / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.2508, allocations: 1.064 MB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2509, allocations: 4 kB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2509, allocations: 0 / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.2509, allocations: 4 kB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.001705/0.2526, allocations: 1.278 MB / 0.9079 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2526, allocations: 12.03 kB / 0.9079 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.2528, allocations: 131.3 kB / 0.908 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.2535, allocations: 0.6575 MB / 0.9087 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.2536, allocations: 74.38 kB / 0.9087 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.914e-05/0.2537, allocations: 108.4 kB / 0.9088 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.255, allocations: 0.9751 MB / 0.9098 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.2551, allocations: 7.984 kB / 0.9098 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.2552, allocations: 44 kB / 0.9098 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.2552, allocations: 24 kB / 0.9099 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.2563, allocations: 0.7026 MB / 0.9105 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/0.2601, allocations: 3.577 MB / 0.914 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009954/0.2611, allocations: 0.7301 MB / 0.9147 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.2616, allocations: 426.8 kB / 0.9152 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.617e-05/0.2617, allocations: 8.656 kB / 0.9152 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005804/0.2623, allocations: 376.3 kB / 0.9155 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 3.126e-06/0.2623, allocations: 7.938 kB / 0.9155 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.001446/0.2638, allocations: 0.8796 MB / 0.9164 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.2638, allocations: 162.9 kB / 0.9165 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006319/0.2645, allocations: 0.6806 MB / 0.9172 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.2645, allocations: 37.7 kB / 0.9172 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.2647, allocations: 483.8 kB / 0.9177 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.2649, allocations: 264.2 kB / 0.918 GB, free: 46.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.2649, allocations: 73.67 kB / 0.918 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.265, allocations: 337.9 kB / 0.9183 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.2655, allocations: 257.9 kB / 0.9186 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/0.2659, allocations: 411.7 kB / 0.919 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000855/0.2668, allocations: 0.6137 MB / 0.9196 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2668, allocations: 0 / 0.9196 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001109/0.2679, allocations: 0.7894 MB / 0.9204 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.268, allocations: 142.2 kB / 0.9205 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.268, allocations: 4 kB / 0.9205 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.268, allocations: 4 kB / 0.9205 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.2686, allocations: 159.8 kB / 0.9207 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.2686, allocations: 15.88 kB / 0.9207 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.269, allocations: 123.2 kB / 0.9208 GB, free: 43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.2691, allocations: 24 kB / 0.9208 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.2691, allocations: 6.5 kB / 0.9208 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006614/0.2697, allocations: 0.5584 MB / 0.9214 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.2698, allocations: 0 / 0.9214 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/0.2698, allocations: 8 kB / 0.9214 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.2702, allocations: 139.8 kB / 0.9215 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2702, allocations: 8 kB / 0.9215 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.2705, allocations: 95.44 kB / 0.9216 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.2705, allocations: 27.94 kB / 0.9216 GB, free: 42.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (intWitRes4.trigger_internal,limPIDInp.trigger,$whenCondition1,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0003218/0.2709, allocations: 307 kB / 0.9219 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.2709, allocations: 82.97 kB / 0.922 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.2711, allocations: 100.8 kB / 0.9221 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.2711, allocations: 4 kB / 0.9221 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.2711, allocations: 4 kB / 0.9221 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.2711, allocations: 3.984 kB / 0.9221 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.273, allocations: 1.675 MB / 0.9237 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.273, allocations: 0 / 0.9237 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.2736, allocations: 143.8 kB / 0.9239 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2736, allocations: 4 kB / 0.9239 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.2736, allocations: 19.94 kB / 0.9239 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2736, allocations: 4 kB / 0.9239 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2737, allocations: 0 / 0.9239 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.2751, allocations: 1.112 MB / 0.925 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.2752, allocations: 163.9 kB / 0.9251 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/0.2753, allocations: 16 kB / 0.9252 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.2757, allocations: 55.95 kB / 0.9252 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.2758, allocations: 40.59 kB / 0.9253 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.2758, allocations: 23.94 kB / 0.9253 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000487/0.2763, allocations: 475 kB / 0.9257 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2763, allocations: 0 / 0.9257 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006877/0.277, allocations: 342.2 kB / 0.9261 GB, free: 37.5 MB / 0.6042 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.0002226/0.2772, allocations: 131.1 kB / 0.9262 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.2787, allocations: 0.9505 MB / 0.9271 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2787, allocations: 0.5625 kB / 0.9271 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.2791, allocations: 335.6 kB / 0.9274 GB, free: 36.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009021/0.28, allocations: 215.1 kB / 0.9276 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.2824, allocations: 2.146 MB / 0.9297 GB, free: 33.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.2828, allocations: 1.025 MB / 0.9307 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.283, allocations: 67.42 kB / 0.9308 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.283, allocations: 0 / 0.9308 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.01342/0.2964, allocations: 10.59 MB / 0.9411 GB, free: 22.03 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)