Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.767/1.767, allocations: 288.4 MB / 303.7 MB, free: 8.086 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.001393/0.001393, allocations: 179.1 kB / 372.3 MB, free: 10.13 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.568/1.568, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0007964/0.0007965, allocations: 94.86 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004758, allocations: 15.41 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2787, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003858/0.2826, allocations: 3.68 MB / 0.9837 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002793/0.2855, allocations: 1.548 MB / 0.9852 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000532/0.286, allocations: 31.81 kB / 0.9852 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.2864, allocations: 122.8 kB / 0.9854 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005889/0.287, allocations: 172.9 kB / 0.9855 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.2882, allocations: 0.5139 MB / 0.986 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008784/0.289, allocations: 1.081 MB / 0.9871 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006131/0.2897, allocations: 476.5 kB / 0.9875 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.29, allocations: 334 kB / 0.9879 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.2904, allocations: 345.8 kB / 0.9882 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.934e-05/0.2905, allocations: 28 kB / 0.9882 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.928e-05/0.2905, allocations: 24 kB / 0.9882 GB, free: 19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.2906, allocations: 135.2 kB / 0.9884 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.2909, allocations: 391.1 kB / 0.9887 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.2914, allocations: 0.8104 MB / 0.9895 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.2914, allocations: 0 / 0.9895 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2914, allocations: 0 / 0.9895 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.2914, allocations: 0 / 0.9895 GB, free: 17.66 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002045/0.2935, allocations: 1.243 MB / 0.9907 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2936, allocations: 12.03 kB / 0.9908 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.2938, allocations: 123.4 kB / 0.9909 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.2948, allocations: 0.7352 MB / 0.9916 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.152e-05/0.2949, allocations: 84.27 kB / 0.9917 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.295, allocations: 64.38 kB / 0.9917 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.2961, allocations: 0.7446 MB / 0.9925 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2961, allocations: 0 / 0.9925 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.2962, allocations: 28 kB / 0.9925 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2962, allocations: 19.94 kB / 0.9925 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/0.2972, allocations: 0.5321 MB / 0.993 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.3, allocations: 2.29 MB / 0.9953 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.3012, allocations: 0.636 MB / 0.9959 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.3017, allocations: 276.2 kB / 0.9962 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.095e-05/0.3018, allocations: 8.562 kB / 0.9962 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006018/0.3024, allocations: 338.9 kB / 0.9965 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/0.3024, allocations: 0 / 0.9965 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001448/0.3039, allocations: 0.7673 MB / 0.9972 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.3039, allocations: 89.61 kB / 0.9973 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007156/0.3047, allocations: 0.7518 MB / 0.9981 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.3047, allocations: 41.7 kB / 0.9981 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.305, allocations: 440.5 kB / 0.9985 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.3051, allocations: 201 kB / 0.9987 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.3051, allocations: 12 kB / 0.9987 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.3052, allocations: 330 kB / 0.999 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.3056, allocations: 205.2 kB / 0.9992 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.3061, allocations: 312.4 kB / 0.9995 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008234/0.3069, allocations: 0.5114 MB / 1 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3069, allocations: 4 kB / 1 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001051/0.308, allocations: 0.6578 MB / 1.001 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.278e-05/0.3081, allocations: 160.7 kB / 1.001 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3081, allocations: 3.938 kB / 1.001 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.3081, allocations: 11.98 kB / 1.001 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.3087, allocations: 143.8 kB / 1.001 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.3088, allocations: 4 kB / 1.001 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.3092, allocations: 87.34 kB / 1.001 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.3092, allocations: 20 kB / 1.001 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.3092, allocations: 4 kB / 1.001 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008513/0.3101, allocations: 0.5246 MB / 1.002 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.3101, allocations: 0 / 1.002 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.3101, allocations: 8 kB / 1.002 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/0.3107, allocations: 139.9 kB / 1.002 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3107, allocations: 4 kB / 1.002 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.311, allocations: 71.55 kB / 1.002 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.3111, allocations: 27.97 kB / 1.002 GB, free: 4.656 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0004057/0.3115, allocations: 300.9 kB / 1.002 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3116, allocations: 90.88 kB / 1.002 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.3118, allocations: 101.3 kB / 1.002 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.3118, allocations: 8 kB / 1.002 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.3118, allocations: 3.938 kB / 1.002 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/0.3118, allocations: 7.984 kB / 1.002 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.3138, allocations: 1.462 MB / 1.004 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3138, allocations: 3.984 kB / 1.004 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.3143, allocations: 103.9 kB / 1.004 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3143, allocations: 3.984 kB / 1.004 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.3144, allocations: 15.94 kB / 1.004 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3144, allocations: 4 kB / 1.004 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3144, allocations: 7.938 kB / 1.004 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.3158, allocations: 0.9626 MB / 1.005 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.316, allocations: 231.6 kB / 1.005 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.3161, allocations: 12 kB / 1.005 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.3165, allocations: 43.97 kB / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3166, allocations: 36.5 kB / 1.005 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.3167, allocations: 19.98 kB / 1.005 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005111/0.3172, allocations: 0.5109 MB / 1.006 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3172, allocations: 0 / 1.006 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006731/0.3179, allocations: 275.1 kB / 1.006 GB, free: 368 kB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001458/0.318, allocations: 119.1 kB / 1.006 GB, free: 240 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.3196, allocations: 0.7958 MB / 1.007 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3196, allocations: 0.625 kB / 1.007 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005105/0.3202, allocations: 279.1 kB / 1.007 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.3213, allocations: 238.2 kB / 1.007 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.3242, allocations: 1.835 MB / 1.009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.3248, allocations: 1.002 MB / 1.01 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005763/0.3253, allocations: 114.7 kB / 1.01 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.3255, allocations: 63.42 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.3255, allocations: 4 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of Templates: time 0.01697/0.3425, allocations: 8.515 MB / 1.019 GB, free: 3.441 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)