Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009895/0.0009894, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.638/1.638, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005293/0.0005295, allocations: 14.16 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2333, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003238/0.2366, allocations: 2.866 MB / 0.7901 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0027/0.2393, allocations: 1.999 MB / 0.7921 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003235/0.2397, allocations: 19.94 kB / 0.7921 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.2399, allocations: 118.8 kB / 0.7922 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.2403, allocations: 111.2 kB / 0.7923 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.241, allocations: 334.9 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.2421, allocations: 1.049 MB / 0.7936 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006327/0.2427, allocations: 403.9 kB / 0.794 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.243, allocations: 286.4 kB / 0.7943 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.2434, allocations: 333.8 kB / 0.7946 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.381e-05/0.2435, allocations: 32 kB / 0.7947 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.2436, allocations: 47.92 kB / 0.7947 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.2437, allocations: 131.2 kB / 0.7948 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.2439, allocations: 173.1 kB / 0.795 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009108/0.2448, allocations: 1.06 MB / 0.796 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.2448, allocations: 3.984 kB / 0.796 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2448, allocations: 0 / 0.796 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.2449, allocations: 4 kB / 0.796 GB, free: 2.914 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001975/0.2468, allocations: 1.278 MB / 0.7973 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2469, allocations: 8.031 kB / 0.7973 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.247, allocations: 118.6 kB / 0.7974 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/0.2479, allocations: 0.6219 MB / 0.798 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.2479, allocations: 70 kB / 0.7981 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.2481, allocations: 83.91 kB / 0.7982 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.2495, allocations: 0.8284 MB / 0.799 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.2495, allocations: 0 / 0.799 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.2496, allocations: 36 kB / 0.799 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.2496, allocations: 20 kB / 0.799 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.2508, allocations: 0.6402 MB / 0.7996 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003768/0.2546, allocations: 2.844 MB / 0.8024 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.2559, allocations: 0.7215 MB / 0.8031 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/0.2565, allocations: 353.7 kB / 0.8035 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.2566, allocations: 4.562 kB / 0.8035 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006014/0.2572, allocations: 339 kB / 0.8038 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 1.923e-06/0.2572, allocations: 0 / 0.8038 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.00153/0.2587, allocations: 0.8222 MB / 0.8046 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.2588, allocations: 196.5 kB / 0.8048 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008243/0.2597, allocations: 0.7077 MB / 0.8055 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.2597, allocations: 41.64 kB / 0.8055 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.2601, allocations: 451.7 kB / 0.8059 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.2602, allocations: 201.1 kB / 0.8061 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.2603, allocations: 16 kB / 0.8061 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2604, allocations: 334 kB / 0.8065 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.261, allocations: 273.5 kB / 0.8067 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.2616, allocations: 460.7 kB / 0.8072 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/0.2622, allocations: 340.7 kB / 0.8075 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2622, allocations: 4 kB / 0.8075 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001389/0.2636, allocations: 0.8373 MB / 0.8083 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.2637, allocations: 215.3 kB / 0.8085 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2637, allocations: 4.094 kB / 0.8085 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2638, allocations: 7.938 kB / 0.8085 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.2643, allocations: 159.8 kB / 0.8087 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.2644, allocations: 8 kB / 0.8087 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/0.2649, allocations: 167.1 kB / 0.8088 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/0.265, allocations: 27.98 kB / 0.8089 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.265, allocations: 4 kB / 0.8089 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000879/0.2659, allocations: 0.6021 MB / 0.8095 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2659, allocations: 4 kB / 0.8095 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.2659, allocations: 4 kB / 0.8095 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.2663, allocations: 119.8 kB / 0.8096 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2663, allocations: 11.92 kB / 0.8096 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/0.2668, allocations: 135.5 kB / 0.8097 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.2668, allocations: 24 kB / 0.8098 GB, free: 4.387 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,$PRE.pulse.booPul.y,pulse.booPul.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): 80 * Array equations: 0 * Algorithm blocks: 1 * 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.0003395/0.2672, allocations: 310.3 kB / 0.81 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/0.2673, allocations: 82.95 kB / 0.8101 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.2674, allocations: 84.03 kB / 0.8102 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2674, allocations: 8 kB / 0.8102 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2674, allocations: 0 / 0.8102 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2675, allocations: 7.938 kB / 0.8102 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.2682, allocations: 0.7629 MB / 0.811 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2683, allocations: 4 kB / 0.811 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/0.2687, allocations: 127.8 kB / 0.8111 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2687, allocations: 4 kB / 0.8111 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.2688, allocations: 15.98 kB / 0.8111 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2688, allocations: 3.938 kB / 0.8111 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2688, allocations: 0 / 0.8111 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.2704, allocations: 0.9369 MB / 0.812 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2705, allocations: 168 kB / 0.8122 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.2706, allocations: 16 kB / 0.8122 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.2709, allocations: 59.95 kB / 0.8123 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.271, allocations: 32.52 kB / 0.8123 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.271, allocations: 27.92 kB / 0.8123 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005885/0.2716, allocations: 487 kB / 0.8128 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2716, allocations: 0 / 0.8128 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007713/0.2724, allocations: 314.6 kB / 0.8131 GB, free: 0.8711 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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.000207/0.2726, allocations: 123.2 kB / 0.8132 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.2743, allocations: 1.069 MB / 0.8142 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2743, allocations: 0 / 0.8142 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004929/0.2748, allocations: 295.4 kB / 0.8145 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007352/0.2756, allocations: 175.1 kB / 0.8147 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.2779, allocations: 1.722 MB / 0.8164 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.2784, allocations: 0.9783 MB / 0.8173 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003899/0.2788, allocations: 97.84 kB / 0.8174 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.279, allocations: 63.41 kB / 0.8175 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of SimCode: time 9.11e-07/0.279, allocations: 4 kB / 0.8175 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of Templates: time 0.01588/0.2949, allocations: 8.421 MB / 0.8257 GB, free: 3.949 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) Environment - environmentSimulation: