Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.826/1.826, allocations: 287.5 MB / 302.6 MB, free: 8.441 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.001705/0.001705, allocations: 190.4 kB / 371.2 MB, free: 10.84 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.887/1.887, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0009895/0.0009894, allocations: 95.72 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004525, allocations: 13.5 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2492, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.00278/0.252, allocations: 2.603 MB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002605/0.2546, allocations: 1.65 MB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008434/0.2555, allocations: 19.88 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.256, allocations: 110.9 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000715/0.2567, allocations: 89.42 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006444/0.2574, allocations: 223.7 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.2585, allocations: 0.936 MB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009151/0.2594, allocations: 0.5724 MB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.2598, allocations: 242.5 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.2601, allocations: 298 kB / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.2602, allocations: 24 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.002e-05/0.2603, allocations: 32 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.2604, allocations: 135.2 kB / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.2605, allocations: 165.1 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006503/0.2612, allocations: 0.9703 MB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2612, allocations: 4 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2612, allocations: 0 / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.344e-05/0.2612, allocations: 0 / 0.9866 GB, free: 20.09 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.001746/0.263, allocations: 1.185 MB / 0.9877 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.263, allocations: 8.031 kB / 0.9877 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.2632, allocations: 115.5 kB / 0.9878 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.2638, allocations: 0.5909 MB / 0.9884 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.2639, allocations: 66.38 kB / 0.9885 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-05/0.264, allocations: 92.28 kB / 0.9886 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.2652, allocations: 0.8593 MB / 0.9894 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2652, allocations: 4.188 kB / 0.9894 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.2653, allocations: 39.94 kB / 0.9894 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.2653, allocations: 24 kB / 0.9895 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.2663, allocations: 0.6246 MB / 0.9901 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/0.2693, allocations: 2.732 MB / 0.9927 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.2706, allocations: 1.331 MB / 0.994 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.2711, allocations: 382.6 kB / 0.9944 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.2711, allocations: 8.562 kB / 0.9944 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005753/0.2717, allocations: 347.1 kB / 0.9947 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 2.996e-06/0.2717, allocations: 0 / 0.9947 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.001287/0.273, allocations: 0.8144 MB / 0.9955 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.2731, allocations: 166.7 kB / 0.9957 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.2736, allocations: 0.5822 MB / 0.9963 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.2737, allocations: 49.69 kB / 0.9963 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.2739, allocations: 416 kB / 0.9967 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.274, allocations: 236.5 kB / 0.9969 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.274, allocations: 16 kB / 0.997 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.2741, allocations: 390.7 kB / 0.9973 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.2745, allocations: 225.2 kB / 0.9975 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.2749, allocations: 361.4 kB / 0.9979 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/0.2758, allocations: 0.5234 MB / 0.9984 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2758, allocations: 0 / 0.9984 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001033/0.2768, allocations: 0.6721 MB / 0.999 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.685e-05/0.2769, allocations: 120.3 kB / 0.9992 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2769, allocations: 0 / 0.9992 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.277, allocations: 4 kB / 0.9992 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.2775, allocations: 155.9 kB / 0.9993 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.2775, allocations: 7.938 kB / 0.9993 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.2779, allocations: 103.4 kB / 0.9994 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.2779, allocations: 24 kB / 0.9994 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/0.2779, allocations: 0 / 0.9994 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005801/0.2785, allocations: 475.6 kB / 0.9999 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.2785, allocations: 0 / 0.9999 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/0.2785, allocations: 8.094 kB / 0.9999 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.2789, allocations: 119.8 kB / 1 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2789, allocations: 7.938 kB / 1 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.2792, allocations: 83.34 kB / 1 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.2792, allocations: 20 kB / 1 GB, free: 5.676 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.0002818/0.2795, allocations: 296.9 kB / 1 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.2796, allocations: 75.06 kB / 1 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.2797, allocations: 82.94 kB / 1.001 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2797, allocations: 8 kB / 1.001 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.2797, allocations: 0 / 1.001 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2797, allocations: 3.984 kB / 1.001 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.2816, allocations: 1.582 MB / 1.002 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2816, allocations: 3.984 kB / 1.002 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.2821, allocations: 131.8 kB / 1.002 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2821, allocations: 4 kB / 1.002 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.2822, allocations: 19.92 kB / 1.002 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2822, allocations: 4 kB / 1.002 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2822, allocations: 4 kB / 1.002 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.2836, allocations: 1.018 MB / 1.003 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.2837, allocations: 148.1 kB / 1.003 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.2837, allocations: 27.92 kB / 1.003 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.284, allocations: 55.91 kB / 1.003 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.2841, allocations: 36.5 kB / 1.004 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.2842, allocations: 20 kB / 1.004 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003874/0.2845, allocations: 419.1 kB / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2846, allocations: 0 / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005606/0.2851, allocations: 306.5 kB / 1.004 GB, free: 1.355 MB / 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.0001618/0.2853, allocations: 127.3 kB / 1.004 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.2865, allocations: 0.8277 MB / 1.005 GB, free: 408 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2865, allocations: 384 / 1.005 GB, free: 408 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.2869, allocations: 307 kB / 1.005 GB, free: 100 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007379/0.2877, allocations: 139 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.2903, allocations: 1.811 MB / 1.007 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.2909, allocations: 0.9781 MB / 1.008 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003401/0.2912, allocations: 81.2 kB / 1.008 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.2914, allocations: 59.42 kB / 1.008 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.2914, allocations: 0 / 1.008 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.01283/0.3042, allocations: 6.524 MB / 1.015 GB, free: 6.5 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)