Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.148/2.148, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.002288/0.002288, allocations: 174.2 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.627/2.627, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.001288/0.001287, allocations: 91.31 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004903, allocations: 13.09 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2211, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.005004/0.2262, allocations: 3.699 MB / 0.9031 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003464/0.2297, allocations: 1.338 MB / 0.9044 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00076/0.2305, allocations: 19.94 kB / 0.9045 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.231, allocations: 150.5 kB / 0.9046 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005631/0.2316, allocations: 95.19 kB / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007436/0.2324, allocations: 263.7 kB / 0.9049 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.2337, allocations: 1.053 MB / 0.906 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.2349, allocations: 0.6496 MB / 0.9066 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.2353, allocations: 262.3 kB / 0.9069 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.2356, allocations: 317.7 kB / 0.9072 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.957e-05/0.2357, allocations: 28 kB / 0.9072 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.2358, allocations: 28 kB / 0.9072 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.236, allocations: 143.2 kB / 0.9073 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.2361, allocations: 193 kB / 0.9075 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.2373, allocations: 1.072 MB / 0.9086 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2373, allocations: 0 / 0.9086 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2373, allocations: 4 kB / 0.9086 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.2373, allocations: 0 / 0.9086 GB, free: 56.16 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.003205/0.2405, allocations: 1.293 MB / 0.9098 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.2406, allocations: 16.03 kB / 0.9099 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002961/0.2409, allocations: 131.3 kB / 0.91 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.2421, allocations: 0.627 MB / 0.9106 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.861e-05/0.2422, allocations: 74.38 kB / 0.9107 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.2424, allocations: 100.4 kB / 0.9108 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.2446, allocations: 0.9712 MB / 0.9117 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.2447, allocations: 3.938 kB / 0.9117 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.2448, allocations: 44 kB / 0.9118 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.2448, allocations: 24 kB / 0.9118 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.2469, allocations: 0.6948 MB / 0.9125 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006335/0.2533, allocations: 3.577 MB / 0.916 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.2552, allocations: 0.7262 MB / 0.9167 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.2562, allocations: 418.9 kB / 0.9171 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.273e-05/0.2563, allocations: 8.656 kB / 0.9171 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.2574, allocations: 368.3 kB / 0.9174 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 3.948e-06/0.2574, allocations: 0 / 0.9174 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.00265/0.26, allocations: 0.8873 MB / 0.9183 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.2601, allocations: 166.9 kB / 0.9184 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.2612, allocations: 0.6767 MB / 0.9191 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.15e-05/0.2613, allocations: 41.7 kB / 0.9191 GB, free: 45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.2616, allocations: 483.8 kB / 0.9196 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.2619, allocations: 252.3 kB / 0.9199 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.2619, allocations: 16 kB / 0.9199 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.262, allocations: 337.9 kB / 0.9202 GB, free: 43.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000824/0.2628, allocations: 253.9 kB / 0.9204 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009172/0.2638, allocations: 403.7 kB / 0.9208 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008899/0.2647, allocations: 302.9 kB / 0.9211 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.2647, allocations: 0 / 0.9211 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002159/0.2669, allocations: 0.7815 MB / 0.9219 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.22e-05/0.267, allocations: 138.2 kB / 0.922 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.267, allocations: 0 / 0.922 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.267, allocations: 4 kB / 0.922 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.2682, allocations: 167.8 kB / 0.9222 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.2682, allocations: 7.984 kB / 0.9222 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007868/0.269, allocations: 123.1 kB / 0.9223 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.2691, allocations: 24 kB / 0.9223 GB, free: 41.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.2691, allocations: 4 kB / 0.9223 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001195/0.2703, allocations: 0.566 MB / 0.9229 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2704, allocations: 0 / 0.9229 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2704, allocations: 4 kB / 0.9229 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.2714, allocations: 140 kB / 0.923 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.2715, allocations: 11.94 kB / 0.923 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.2722, allocations: 87.25 kB / 0.9231 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.2722, allocations: 24 kB / 0.9231 GB, free: 40.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005625/0.2728, allocations: 307 kB / 0.9234 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.273, allocations: 86.97 kB / 0.9235 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.2732, allocations: 96.8 kB / 0.9236 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.2733, allocations: 3.984 kB / 0.9236 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.2733, allocations: 4 kB / 0.9236 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.2734, allocations: 163.9 kB / 0.9238 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.2736, allocations: 15.94 kB / 0.9238 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/0.2742, allocations: 59.95 kB / 0.9238 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2743, allocations: 44.53 kB / 0.9239 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002754/0.2771, allocations: 0.8132 MB / 0.9247 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002984/0.2801, allocations: 1.201 MB / 0.9258 GB, free: 38 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008457/0.281, allocations: 313.1 kB / 0.9261 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007924/0.2818, allocations: 475.1 kB / 0.9266 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of Backend: time 8.31e-07/0.2819, allocations: 0 / 0.9266 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002405/0.2843, allocations: 0.805 MB / 0.9274 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of SimCode: time 0.004005/0.2883, allocations: 2.426 MB / 0.9297 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.0279/0.3163, allocations: 10.41 MB / 0.9399 GB, free: 23.61 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)