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.378/1.378, allocations: 252 MB / 268 MB, free: 10.86 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.0009157/0.0009156, allocations: 175.8 kB / 327.6 MB, free: 2.094 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.794/1.794, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.000795/0.0007951, allocations: 86.34 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003296, allocations: 12.62 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2243, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.00364/0.228, allocations: 3.952 MB / 0.9053 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.2302, allocations: 1.373 MB / 0.9067 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004902/0.2307, allocations: 23.88 kB / 0.9067 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.2311, allocations: 154.6 kB / 0.9069 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004534/0.2315, allocations: 103.2 kB / 0.9069 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.2321, allocations: 347.7 kB / 0.9073 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007853/0.2329, allocations: 1.092 MB / 0.9083 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007577/0.2336, allocations: 0.6513 MB / 0.909 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.2339, allocations: 262.1 kB / 0.9092 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.2341, allocations: 349.4 kB / 0.9096 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.85e-05/0.2342, allocations: 28 kB / 0.9096 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-05/0.2343, allocations: 24 kB / 0.9096 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.2344, allocations: 155 kB / 0.9098 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.2346, allocations: 422.6 kB / 0.9102 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007141/0.2353, allocations: 1.087 MB / 0.9112 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2354, allocations: 0 / 0.9112 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2354, allocations: 0 / 0.9112 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.2354, allocations: 0 / 0.9112 GB, free: 53.39 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.001815/0.2372, allocations: 1.266 MB / 0.9125 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2373, allocations: 16.02 kB / 0.9125 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.2374, allocations: 131.3 kB / 0.9126 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007133/0.2382, allocations: 0.6575 MB / 0.9132 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.2382, allocations: 78.31 kB / 0.9133 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.643e-05/0.2383, allocations: 104.4 kB / 0.9134 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.2397, allocations: 0.9751 MB / 0.9144 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2397, allocations: 4 kB / 0.9144 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.2398, allocations: 40 kB / 0.9144 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.2398, allocations: 24 kB / 0.9144 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.2409, allocations: 0.7026 MB / 0.9151 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/0.2445, allocations: 3.588 MB / 0.9186 GB, free: 45.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2456, allocations: 0.7263 MB / 0.9193 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/0.2461, allocations: 418.8 kB / 0.9197 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.2462, allocations: 12.64 kB / 0.9197 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005954/0.2468, allocations: 368.4 kB / 0.9201 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 3.246e-06/0.2468, allocations: 0 / 0.9201 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.001513/0.2483, allocations: 0.8874 MB / 0.921 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.2484, allocations: 166.9 kB / 0.9211 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.249, allocations: 0.6844 MB / 0.9218 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.2491, allocations: 41.7 kB / 0.9218 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.2493, allocations: 479.8 kB / 0.9223 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.2495, allocations: 264.2 kB / 0.9225 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.2495, allocations: 16 kB / 0.9226 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.2496, allocations: 337.9 kB / 0.9229 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/0.25, allocations: 261.9 kB / 0.9231 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/0.2505, allocations: 407.7 kB / 0.9235 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009346/0.2515, allocations: 0.6176 MB / 0.9241 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2515, allocations: 4 kB / 0.9241 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001144/0.2526, allocations: 0.7816 MB / 0.9249 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.2527, allocations: 134.3 kB / 0.925 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2527, allocations: 0 / 0.925 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.2528, allocations: 8 kB / 0.925 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.2533, allocations: 175.7 kB / 0.9252 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.2534, allocations: 7.938 kB / 0.9252 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.2537, allocations: 115.2 kB / 0.9253 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.2538, allocations: 27.94 kB / 0.9253 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.2538, allocations: 4 kB / 0.9253 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006677/0.2545, allocations: 0.5583 MB / 0.9259 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.2545, allocations: 8.188 kB / 0.9259 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.2545, allocations: 4 kB / 0.9259 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.255, allocations: 135.8 kB / 0.926 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.255, allocations: 8 kB / 0.926 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.2553, allocations: 91.25 kB / 0.9261 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.2553, allocations: 20 kB / 0.9261 GB, free: 37.67 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,$whenCondition1,limPIDInp.trigger,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.0003281/0.2556, allocations: 323.1 kB / 0.9264 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.2557, allocations: 86.91 kB / 0.9265 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.2559, allocations: 92.81 kB / 0.9266 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.2559, allocations: 8 kB / 0.9266 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.2559, allocations: 0 / 0.9266 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.2559, allocations: 3.984 kB / 0.9266 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.2579, allocations: 1.675 MB / 0.9283 GB, free: 35.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2579, allocations: 3.984 kB / 0.9283 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.2584, allocations: 139.8 kB / 0.9284 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2585, allocations: 4 kB / 0.9284 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.2585, allocations: 19.97 kB / 0.9284 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2585, allocations: 4 kB / 0.9284 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2585, allocations: 0 / 0.9284 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.26, allocations: 1.108 MB / 0.9295 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.2601, allocations: 175.9 kB / 0.9297 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/0.2602, allocations: 12 kB / 0.9297 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.2605, allocations: 51.97 kB / 0.9297 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/0.2606, allocations: 40.59 kB / 0.9298 GB, free: 33.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.2606, allocations: 31.92 kB / 0.9298 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004594/0.2611, allocations: 475 kB / 0.9303 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2611, allocations: 0 / 0.9303 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006298/0.2617, allocations: 338.2 kB / 0.9306 GB, free: 33.01 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.0001734/0.2619, allocations: 123.2 kB / 0.9307 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.2633, allocations: 0.9583 MB / 0.9316 GB, free: 31.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.2634, allocations: 0 / 0.9316 GB, free: 31.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.2638, allocations: 340 kB / 0.932 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008897/0.2647, allocations: 213.7 kB / 0.9322 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.2671, allocations: 2.174 MB / 0.9343 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.2675, allocations: 1.018 MB / 0.9353 GB, free: 28.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.2677, allocations: 71.42 kB / 0.9354 GB, free: 28.07 MB / 0.6042 GB Notification: Performance of SimCode: time 8.41e-07/0.2677, allocations: 0 / 0.9354 GB, free: 28.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.01267/0.2804, allocations: 10.58 MB / 0.9457 GB, free: 17.52 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)