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.607/1.607, allocations: 252 MB / 267.6 MB, free: 10.99 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.00104/0.00104, allocations: 185.4 kB / 327.3 MB, free: 2.242 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.4 MB / 0.5783 GB, free: 20.58 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.0007465/0.0007465, allocations: 85.95 kB / 0.6829 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 16.59 kB / 0.797 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2281, allocations: 106.3 MB / 0.9009 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.003764/0.2319, allocations: 3.676 MB / 0.9044 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.2345, allocations: 1.358 MB / 0.9058 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006039/0.2352, allocations: 27.94 kB / 0.9058 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.2355, allocations: 150.5 kB / 0.9059 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004013/0.2359, allocations: 91.19 kB / 0.906 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.2364, allocations: 255.7 kB / 0.9063 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007043/0.2371, allocations: 1.018 MB / 0.9073 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.2376, allocations: 489.2 kB / 0.9077 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.2378, allocations: 258.4 kB / 0.908 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.2381, allocations: 317.7 kB / 0.9083 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.612e-05/0.2381, allocations: 31.98 kB / 0.9083 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.561e-05/0.2382, allocations: 28 kB / 0.9083 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.122e-05/0.2383, allocations: 143.1 kB / 0.9085 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.222e-05/0.2384, allocations: 185.1 kB / 0.9087 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.239, allocations: 1.068 MB / 0.9097 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.239, allocations: 3.938 kB / 0.9097 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.015e-06/0.239, allocations: 0 / 0.9097 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.2391, allocations: 0 / 0.9097 GB, free: 55.3 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.001793/0.2409, allocations: 1.301 MB / 0.911 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2409, allocations: 8.031 kB / 0.911 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.2411, allocations: 134.4 kB / 0.9111 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007168/0.2418, allocations: 0.6295 MB / 0.9117 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.2419, allocations: 74 kB / 0.9118 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.913e-05/0.242, allocations: 100 kB / 0.9119 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.2433, allocations: 0.9748 MB / 0.9128 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.2434, allocations: 0 / 0.9128 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.2434, allocations: 40 kB / 0.9129 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.2435, allocations: 24 kB / 0.9129 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.2446, allocations: 0.6987 MB / 0.9136 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003578/0.2482, allocations: 3.573 MB / 0.9171 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.2492, allocations: 0.7301 MB / 0.9178 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.2498, allocations: 418.9 kB / 0.9182 GB, free: 46.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.2498, allocations: 8.656 kB / 0.9182 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006452/0.2505, allocations: 364.4 kB / 0.9185 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 3.246e-06/0.2505, allocations: 3.938 kB / 0.9185 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.001478/0.252, allocations: 0.8834 MB / 0.9194 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.252, allocations: 162.9 kB / 0.9196 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.2527, allocations: 0.6806 MB / 0.9202 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.2527, allocations: 41.7 kB / 0.9203 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.253, allocations: 479.8 kB / 0.9207 GB, free: 43.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.2531, allocations: 252.3 kB / 0.921 GB, free: 43.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.2531, allocations: 16 kB / 0.921 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.2532, allocations: 330 kB / 0.9213 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.2537, allocations: 261.9 kB / 0.9215 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.2542, allocations: 409.2 kB / 0.9219 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.2547, allocations: 295 kB / 0.9222 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2547, allocations: 3.938 kB / 0.9222 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001101/0.2558, allocations: 0.7815 MB / 0.923 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/0.2559, allocations: 138.2 kB / 0.9231 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2559, allocations: 4 kB / 0.9231 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2559, allocations: 4 kB / 0.9231 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.2565, allocations: 167.7 kB / 0.9233 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.2565, allocations: 11.98 kB / 0.9233 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.2569, allocations: 119.2 kB / 0.9234 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.257, allocations: 28 kB / 0.9234 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.51e-06/0.257, allocations: 4 kB / 0.9234 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006476/0.2576, allocations: 0.5505 MB / 0.924 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2576, allocations: 8.188 kB / 0.924 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.551e-06/0.2577, allocations: 7.953 kB / 0.924 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.2581, allocations: 135.8 kB / 0.9241 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2581, allocations: 8 kB / 0.9241 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.2584, allocations: 87.25 kB / 0.9242 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.2585, allocations: 24 kB / 0.9242 GB, free: 39.99 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.0003497/0.2588, allocations: 312.9 kB / 0.9245 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/0.2589, allocations: 82.97 kB / 0.9246 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.2591, allocations: 104.7 kB / 0.9247 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.2591, allocations: 8 kB / 0.9247 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.2591, allocations: 0 / 0.9247 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2591, allocations: 3.984 kB / 0.9247 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.261, allocations: 1.667 MB / 0.9264 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.261, allocations: 0 / 0.9264 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005456/0.2616, allocations: 147.7 kB / 0.9265 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.2616, allocations: 8 kB / 0.9265 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.2616, allocations: 19.98 kB / 0.9265 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2616, allocations: 4 kB / 0.9265 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2616, allocations: 0 / 0.9265 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.2631, allocations: 1.096 MB / 0.9276 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.2632, allocations: 167.9 kB / 0.9278 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/0.2633, allocations: 27.94 kB / 0.9278 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.2637, allocations: 47.97 kB / 0.9278 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.2637, allocations: 44.59 kB / 0.9279 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.2638, allocations: 16 kB / 0.9279 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000435/0.2642, allocations: 471 kB / 0.9283 GB, free: 35.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2642, allocations: 0 / 0.9283 GB, free: 35.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006574/0.2649, allocations: 342.3 kB / 0.9287 GB, free: 35.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.2651, allocations: 127 kB / 0.9288 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.2664, allocations: 0.9427 MB / 0.9297 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2665, allocations: 0 / 0.9297 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.2669, allocations: 336.1 kB / 0.93 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000863/0.2678, allocations: 210.8 kB / 0.9302 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.27, allocations: 2.072 MB / 0.9322 GB, free: 31.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.2704, allocations: 1.021 MB / 0.9332 GB, free: 30.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.2706, allocations: 67.42 kB / 0.9333 GB, free: 30.53 MB / 0.6042 GB Notification: Performance of SimCode: time 1.132e-06/0.2706, allocations: 4 kB / 0.9333 GB, free: 30.53 MB / 0.6042 GB Notification: Performance of Templates: time 0.01241/0.283, allocations: 10.6 MB / 0.9437 GB, free: 19.96 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)