Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.77/1.77, allocations: 288.4 MB / 303.7 MB, free: 8.105 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.00128/0.00128, allocations: 187 kB / 372.3 MB, free: 10.09 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.909/1.909, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.001031/0.001032, allocations: 104.8 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003965, allocations: 15.31 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2182, allocations: 115.3 MB / 0.9802 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.002398/0.2206, allocations: 2.603 MB / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.2228, allocations: 1.642 MB / 0.9843 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004293/0.2232, allocations: 19.94 kB / 0.9843 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.2235, allocations: 106.9 kB / 0.9844 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.2238, allocations: 83.31 kB / 0.9845 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.2242, allocations: 215.7 kB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006137/0.2248, allocations: 0.9516 MB / 0.9856 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006123/0.2255, allocations: 0.5763 MB / 0.9862 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.2257, allocations: 242.5 kB / 0.9864 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.2259, allocations: 293.9 kB / 0.9867 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.2259, allocations: 28 kB / 0.9867 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.603e-05/0.226, allocations: 24 kB / 0.9868 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.2261, allocations: 139.2 kB / 0.9869 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.2263, allocations: 359.3 kB / 0.9872 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.2269, allocations: 0.9664 MB / 0.9882 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.2269, allocations: 0 / 0.9882 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.185e-06/0.2269, allocations: 3.984 kB / 0.9882 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.2269, allocations: 0 / 0.9882 GB, free: 19.03 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001685/0.2286, allocations: 1.185 MB / 0.9893 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2287, allocations: 12.03 kB / 0.9893 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.2288, allocations: 115.5 kB / 0.9895 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006412/0.2294, allocations: 0.5986 MB / 0.99 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.2295, allocations: 66.38 kB / 0.9901 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.204e-05/0.2296, allocations: 96.28 kB / 0.9902 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.2308, allocations: 0.8592 MB / 0.991 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2308, allocations: 4.188 kB / 0.991 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.2309, allocations: 47.92 kB / 0.9911 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.2309, allocations: 20 kB / 0.9911 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.2319, allocations: 0.6207 MB / 0.9917 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.235, allocations: 2.74 MB / 0.9944 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.2362, allocations: 1.315 MB / 0.9957 GB, free: 11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.2367, allocations: 386.6 kB / 0.996 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.2368, allocations: 12.5 kB / 0.9961 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/0.2373, allocations: 347.1 kB / 0.9964 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 2.034e-06/0.2373, allocations: 0 / 0.9964 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.001301/0.2386, allocations: 0.8066 MB / 0.9972 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.2387, allocations: 166.8 kB / 0.9973 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005929/0.2393, allocations: 0.5862 MB / 0.9979 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.2393, allocations: 41.7 kB / 0.9979 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.2396, allocations: 420.1 kB / 0.9983 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.2397, allocations: 244.4 kB / 0.9986 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.2397, allocations: 12 kB / 0.9986 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2399, allocations: 390.7 kB / 0.999 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.2403, allocations: 233.2 kB / 0.9992 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/0.2408, allocations: 341.4 kB / 0.9995 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007907/0.2416, allocations: 0.5234 MB / 1 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2416, allocations: 4 kB / 1 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001009/0.2426, allocations: 0.6721 MB / 1.001 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/0.2426, allocations: 114.2 kB / 1.001 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2427, allocations: 0 / 1.001 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2427, allocations: 4 kB / 1.001 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.2432, allocations: 155.9 kB / 1.001 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2432, allocations: 11.88 kB / 1.001 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.2435, allocations: 107.4 kB / 1.001 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.2436, allocations: 20 kB / 1.001 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.2436, allocations: 5.719 kB / 1.001 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000544/0.2441, allocations: 467.6 kB / 1.002 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2442, allocations: 4 kB / 1.002 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.2442, allocations: 4 kB / 1.002 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.2445, allocations: 123.9 kB / 1.002 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2446, allocations: 8.062 kB / 1.002 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.2448, allocations: 83.34 kB / 1.002 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.2448, allocations: 20 kB / 1.002 GB, free: 4.613 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0003332/0.2452, allocations: 296.9 kB / 1.002 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.2453, allocations: 79.06 kB / 1.002 GB, free: 4.234 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.2454, allocations: 78.95 kB / 1.002 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.2454, allocations: 15.92 kB / 1.002 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.2454, allocations: 0 / 1.002 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.2454, allocations: 3.984 kB / 1.002 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.2474, allocations: 1.582 MB / 1.004 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2474, allocations: 4 kB / 1.004 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.2479, allocations: 139.7 kB / 1.004 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.2479, allocations: 4 kB / 1.004 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.248, allocations: 23.88 kB / 1.004 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.248, allocations: 0 / 1.004 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.248, allocations: 0 / 1.004 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.2493, allocations: 1.022 MB / 1.005 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/0.2494, allocations: 148.1 kB / 1.005 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.2495, allocations: 19.94 kB / 1.005 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.2498, allocations: 55.95 kB / 1.005 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.2499, allocations: 36.52 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.2499, allocations: 20.08 kB / 1.005 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003777/0.2503, allocations: 419 kB / 1.006 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2503, allocations: 0 / 1.006 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006237/0.251, allocations: 314.3 kB / 1.006 GB, free: 288 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 (68): * Single equations (assignments): 68 * 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.0001662/0.2511, allocations: 127.2 kB / 1.006 GB, free: 152 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.2526, allocations: 0.8203 MB / 1.007 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2526, allocations: 0 / 1.007 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005035/0.2531, allocations: 307.2 kB / 1.007 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.2539, allocations: 140.7 kB / 1.007 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.2564, allocations: 1.807 MB / 1.009 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.2569, allocations: 0.982 MB / 1.01 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003475/0.2573, allocations: 85.2 kB / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.2574, allocations: 59.36 kB / 1.01 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/0.2574, allocations: 4 kB / 1.01 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.01354/0.271, allocations: 6.608 MB / 1.017 GB, free: 5.352 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)