Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.775/1.775, allocations: 288.4 MB / 303.4 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009257/0.0009258, allocations: 176.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000892/0.0008919, allocations: 104.9 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.000445, allocations: 14.91 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2335, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.003944/0.2375, allocations: 3.646 MB / 0.9832 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.2401, allocations: 1.038 MB / 0.9842 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.2413, allocations: 19.94 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005802/0.2419, allocations: 134.7 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008248/0.2427, allocations: 91.25 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000739/0.2435, allocations: 247.6 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.2448, allocations: 0.9988 MB / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007892/0.2456, allocations: 473.1 kB / 0.9861 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.2459, allocations: 258.4 kB / 0.9863 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.2462, allocations: 309.9 kB / 0.9866 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.2463, allocations: 28 kB / 0.9866 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.747e-05/0.2463, allocations: 28 kB / 0.9867 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.38e-05/0.2464, allocations: 143.2 kB / 0.9868 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.2466, allocations: 181.1 kB / 0.987 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006924/0.2473, allocations: 1.095 MB / 0.988 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2473, allocations: 0 / 0.988 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2473, allocations: 0 / 0.988 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.2473, allocations: 0 / 0.988 GB, free: 18.96 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002038/0.2493, allocations: 1.251 MB / 0.9893 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2494, allocations: 12.02 kB / 0.9893 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.2496, allocations: 130.4 kB / 0.9894 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.2503, allocations: 0.5898 MB / 0.99 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.2504, allocations: 81.98 kB / 0.9901 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.2505, allocations: 96 kB / 0.9901 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.2518, allocations: 0.9134 MB / 0.991 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.2519, allocations: 0 / 0.991 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.2519, allocations: 47.98 kB / 0.9911 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.252, allocations: 20 kB / 0.9911 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.2531, allocations: 0.6754 MB / 0.9918 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.2566, allocations: 2.888 MB / 0.9946 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.2577, allocations: 0.73 MB / 0.9953 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/0.2583, allocations: 414.9 kB / 0.9957 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.2584, allocations: 8.656 kB / 0.9957 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006214/0.259, allocations: 372.4 kB / 0.9961 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 3.817e-06/0.259, allocations: 4 kB / 0.9961 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.001498/0.2605, allocations: 0.8834 MB / 0.9969 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.2606, allocations: 166.8 kB / 0.9971 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.2612, allocations: 0.6138 MB / 0.9977 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.2612, allocations: 41.7 kB / 0.9977 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.2615, allocations: 472.1 kB / 0.9982 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.2617, allocations: 252.3 kB / 0.9984 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.2617, allocations: 16 kB / 0.9984 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.2618, allocations: 330 kB / 0.9987 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.2623, allocations: 261.9 kB / 0.999 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/0.2628, allocations: 389.9 kB / 0.9994 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.2633, allocations: 291 kB / 0.9996 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2633, allocations: 4 kB / 0.9996 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001167/0.2645, allocations: 0.7582 MB / 1 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.2646, allocations: 132.4 kB / 1.001 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.2646, allocations: 0 / 1.001 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.2646, allocations: 7.953 kB / 1.001 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.2652, allocations: 167.8 kB / 1.001 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.2653, allocations: 7.938 kB / 1.001 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.2657, allocations: 115.2 kB / 1.001 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.2657, allocations: 23.98 kB / 1.001 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.2657, allocations: 4 kB / 1.001 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006741/0.2664, allocations: 0.5389 MB / 1.001 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2664, allocations: 3.938 kB / 1.001 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.2664, allocations: 8 kB / 1.001 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.2669, allocations: 135.8 kB / 1.001 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2669, allocations: 4 kB / 1.001 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.2672, allocations: 87.47 kB / 1.002 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.2673, allocations: 24 kB / 1.002 GB, free: 4.715 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0003359/0.2676, allocations: 306 kB / 1.002 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/0.2677, allocations: 82.97 kB / 1.002 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.2678, allocations: 88.27 kB / 1.002 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2679, allocations: 8 kB / 1.002 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.2679, allocations: 4 kB / 1.002 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2679, allocations: 3.984 kB / 1.002 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.27, allocations: 1.656 MB / 1.004 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.27, allocations: 4 kB / 1.004 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.2706, allocations: 139.8 kB / 1.004 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.2706, allocations: 4 kB / 1.004 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/0.2707, allocations: 23.98 kB / 1.004 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2707, allocations: 0 / 1.004 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2707, allocations: 0 / 1.004 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.2722, allocations: 1.104 MB / 1.005 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.2724, allocations: 160 kB / 1.005 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.2724, allocations: 12 kB / 1.005 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.2728, allocations: 55.97 kB / 1.005 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.2729, allocations: 40.59 kB / 1.005 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.2729, allocations: 23.98 kB / 1.005 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004286/0.2733, allocations: 431.1 kB / 1.006 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2734, allocations: 4 kB / 1.006 GB, free: 500 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006478/0.274, allocations: 338.2 kB / 1.006 GB, free: 160 kB / 0.6198 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.000161/0.2742, allocations: 132.4 kB / 1.006 GB, free: 20 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.2759, allocations: 0.9308 MB / 1.007 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.276, allocations: 0 / 1.007 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006144/0.2766, allocations: 332.2 kB / 1.007 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/0.2774, allocations: 164.3 kB / 1.007 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.2806, allocations: 1.98 MB / 1.009 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.2812, allocations: 1.01 MB / 1.01 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004152/0.2816, allocations: 93.91 kB / 1.01 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.2818, allocations: 63.42 kB / 1.011 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of SimCode: time 1.473e-06/0.2818, allocations: 0 / 1.011 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.01698/0.2988, allocations: 7.172 MB / 1.018 GB, free: 4.312 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)