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.435/1.435, 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.000977/0.0009772, allocations: 181.6 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.876/1.876, allocations: 205 MB / 0.5767 GB, free: 21 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.0007586/0.0007588, allocations: 90.08 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003666, allocations: 16.19 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2526, 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.003854/0.2565, allocations: 4.097 MB / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002774/0.2593, allocations: 1.385 MB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.2605, allocations: 23.94 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.261, allocations: 154.5 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.2616, allocations: 99.19 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.2622, allocations: 351.7 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007392/0.2629, allocations: 1.084 MB / 0.9038 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007357/0.2637, allocations: 0.6515 MB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.2639, allocations: 274.1 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.2641, allocations: 349.3 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.2642, allocations: 28 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.064e-05/0.2642, allocations: 28 kB / 0.9051 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.2643, allocations: 147.1 kB / 0.9052 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.2645, allocations: 400.8 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007177/0.2653, allocations: 1.28 MB / 0.9068 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2653, allocations: 0 / 0.9068 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.856e-06/0.2653, allocations: 0 / 0.9068 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.2653, allocations: 4 kB / 0.9068 GB, free: 57.73 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.0019/0.2672, allocations: 1.278 MB / 0.9081 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.2673, allocations: 8.031 kB / 0.9081 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.2674, allocations: 131.3 kB / 0.9082 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007434/0.2682, allocations: 0.6653 MB / 0.9089 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.2682, allocations: 82.3 kB / 0.909 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-05/0.2684, allocations: 100.4 kB / 0.909 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.2696, allocations: 0.979 MB / 0.91 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2696, allocations: 0 / 0.91 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.2697, allocations: 47.98 kB / 0.9101 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2697, allocations: 24 kB / 0.9101 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.2708, allocations: 0.6987 MB / 0.9108 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.2743, allocations: 3.588 MB / 0.9143 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009755/0.2753, allocations: 0.7263 MB / 0.915 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/0.2759, allocations: 418.9 kB / 0.9154 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.2759, allocations: 8.656 kB / 0.9154 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005887/0.2765, allocations: 368.4 kB / 0.9157 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 2.665e-06/0.2765, allocations: 0 / 0.9157 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.001407/0.2779, allocations: 0.8873 MB / 0.9166 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.278, allocations: 170.9 kB / 0.9168 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000628/0.2787, allocations: 0.6768 MB / 0.9174 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.2787, allocations: 41.7 kB / 0.9175 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.2789, allocations: 483.8 kB / 0.9179 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.279, allocations: 256.2 kB / 0.9182 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.2791, allocations: 77.67 kB / 0.9182 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.2792, allocations: 341.9 kB / 0.9186 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.2796, allocations: 261.9 kB / 0.9188 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.2801, allocations: 407.7 kB / 0.9192 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008422/0.281, allocations: 0.6098 MB / 0.9198 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.281, allocations: 4 kB / 0.9198 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001094/0.2821, allocations: 0.7854 MB / 0.9206 GB, free: 43.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.2822, allocations: 142.3 kB / 0.9207 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.2822, allocations: 7.938 kB / 0.9207 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.2822, allocations: 8 kB / 0.9207 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.2827, allocations: 159.8 kB / 0.9209 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.2828, allocations: 7.984 kB / 0.9209 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.2831, allocations: 123.1 kB / 0.921 GB, free: 42.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.2832, allocations: 28 kB / 0.921 GB, free: 42.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.2832, allocations: 4 kB / 0.921 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007158/0.2839, allocations: 0.5663 MB / 0.9216 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2839, allocations: 0 / 0.9216 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/0.284, allocations: 4 kB / 0.9216 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.2844, allocations: 135.8 kB / 0.9217 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2844, allocations: 7.938 kB / 0.9217 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.2847, allocations: 87.25 kB / 0.9218 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.2848, allocations: 28 kB / 0.9218 GB, free: 41.93 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.0003943/0.2852, allocations: 309 kB / 0.9221 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/0.2852, allocations: 86.91 kB / 0.9222 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.2854, allocations: 96.8 kB / 0.9223 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.2854, allocations: 3.984 kB / 0.9223 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2854, allocations: 4 kB / 0.9223 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.2855, allocations: 171.8 kB / 0.9225 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.2856, allocations: 12 kB / 0.9225 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.2859, allocations: 59.95 kB / 0.9225 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.286, allocations: 44.53 kB / 0.9226 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001351/0.2873, allocations: 0.8094 MB / 0.9234 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001516/0.2889, allocations: 1.213 MB / 0.9246 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004506/0.2893, allocations: 317.2 kB / 0.9249 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004849/0.2898, allocations: 479 kB / 0.9253 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of Backend: time 1.132e-06/0.2898, allocations: 4 kB / 0.9253 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.2914, allocations: 0.8162 MB / 0.9261 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002637/0.2941, allocations: 2.512 MB / 0.9286 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.01621/0.3103, allocations: 10.77 MB / 0.9391 GB, free: 24.21 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)