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 2.647/2.647, allocations: 287.5 MB / 302.4 MB, free: 8.371 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.001362/0.001362, allocations: 178 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.328/2.328, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009942/0.0009941, allocations: 85.3 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005208/0.0005213, allocations: 12.47 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2269, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003886/0.2308, allocations: 2.607 MB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003417/0.2343, allocations: 1.638 MB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008679/0.2352, allocations: 19.94 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.2357, allocations: 106.9 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007088/0.2365, allocations: 91.28 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.2372, allocations: 219.7 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.2386, allocations: 0.9245 MB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009368/0.2395, allocations: 443.6 kB / 0.9843 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.24, allocations: 242.5 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.2404, allocations: 298 kB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.2405, allocations: 24 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.2406, allocations: 32 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.2407, allocations: 131.2 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.2409, allocations: 165.2 kB / 0.9851 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.2419, allocations: 0.9703 MB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2419, allocations: 3.938 kB / 0.9861 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2419, allocations: 4 kB / 0.9861 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.672e-05/0.242, allocations: 0 / 0.9861 GB, free: 20.4 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.003118/0.2451, allocations: 1.188 MB / 0.9872 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.2452, allocations: 12.03 kB / 0.9872 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.2455, allocations: 118.5 kB / 0.9874 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.2467, allocations: 0.5706 MB / 0.9879 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.786e-05/0.2468, allocations: 70 kB / 0.988 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.2469, allocations: 91.91 kB / 0.9881 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.2491, allocations: 0.851 MB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.2491, allocations: 0 / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.2492, allocations: 47.98 kB / 0.9889 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.2493, allocations: 20 kB / 0.989 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.2512, allocations: 0.6207 MB / 0.9896 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005643/0.2568, allocations: 2.732 MB / 0.9922 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.259, allocations: 1.331 MB / 0.9935 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009958/0.26, allocations: 390.6 kB / 0.9939 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-05/0.2601, allocations: 8.562 kB / 0.9939 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009572/0.2611, allocations: 347.1 kB / 0.9943 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 3.907e-06/0.2611, allocations: 0 / 0.9943 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.002462/0.2636, allocations: 0.8105 MB / 0.995 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.2637, allocations: 166.8 kB / 0.9952 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009069/0.2646, allocations: 0.5862 MB / 0.9958 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.2647, allocations: 41.7 kB / 0.9958 GB, free: 10 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.265, allocations: 420 kB / 0.9962 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.2652, allocations: 232.6 kB / 0.9964 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.2653, allocations: 12 kB / 0.9964 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2654, allocations: 382.8 kB / 0.9968 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007402/0.2662, allocations: 229.2 kB / 0.997 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008288/0.267, allocations: 353.4 kB / 0.9974 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008099/0.2679, allocations: 263.1 kB / 0.9976 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.2679, allocations: 0 / 0.9976 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00191/0.2698, allocations: 0.6799 MB / 0.9983 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.614e-05/0.2699, allocations: 110.2 kB / 0.9984 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2699, allocations: 8.094 kB / 0.9984 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.2699, allocations: 4 kB / 0.9984 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.271, allocations: 151.8 kB / 0.9985 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.271, allocations: 7.938 kB / 0.9986 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.2717, allocations: 107.4 kB / 0.9987 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.2718, allocations: 20 kB / 0.9987 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2718, allocations: 6.5 kB / 0.9987 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001036/0.2729, allocations: 471.7 kB / 0.9991 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2729, allocations: 4 kB / 0.9991 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2729, allocations: 3.953 kB / 0.9991 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/0.2737, allocations: 123.8 kB / 0.9993 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.2737, allocations: 7.984 kB / 0.9993 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.2743, allocations: 79.36 kB / 0.9993 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.2744, allocations: 23.97 kB / 0.9994 GB, free: 6.289 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.0005134/0.2749, allocations: 297 kB / 0.9996 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.2751, allocations: 71.06 kB / 0.9997 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.2753, allocations: 82.95 kB / 0.9998 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.2753, allocations: 11.89 kB / 0.9998 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.2753, allocations: 4 kB / 0.9998 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.163e-05/0.2753, allocations: 3.984 kB / 0.9998 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.2786, allocations: 1.586 MB / 1.001 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.2787, allocations: 4 kB / 1.001 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.2798, allocations: 135.8 kB / 1.001 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.2798, allocations: 0 / 1.001 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.2799, allocations: 16 kB / 1.002 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.2799, allocations: 0 / 1.002 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2799, allocations: 0 / 1.002 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.2825, allocations: 1.026 MB / 1.003 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.2827, allocations: 152.1 kB / 1.003 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.2828, allocations: 16 kB / 1.003 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.2834, allocations: 59.89 kB / 1.003 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.2836, allocations: 36.52 kB / 1.003 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.2836, allocations: 24.08 kB / 1.003 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006563/0.2843, allocations: 423 kB / 1.003 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2843, allocations: 0 / 1.003 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009345/0.2852, allocations: 298.4 kB / 1.003 GB, free: 1.961 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.0002089/0.2855, allocations: 135.2 kB / 1.004 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002285/0.2878, allocations: 0.8202 MB / 1.004 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.2878, allocations: 4 kB / 1.004 GB, free: 1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.2886, allocations: 307.2 kB / 1.005 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.2899, allocations: 142.9 kB / 1.005 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.294, allocations: 1.812 MB / 1.007 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/0.2948, allocations: 0.982 MB / 1.008 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006438/0.2955, allocations: 77.22 kB / 1.008 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.2958, allocations: 63.42 kB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.463e-06/0.2958, allocations: 0 / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.02332/0.3191, allocations: 6.531 MB / 1.014 GB, free: 7.09 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)