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.823/1.823, allocations: 287.4 MB / 303.2 MB, free: 8.227 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.001093/0.001093, allocations: 189.5 kB / 371.8 MB, free: 10.82 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.874/1.874, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.001026/0.001026, allocations: 95.78 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.0004408, allocations: 16.88 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2568, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.002616/0.2594, allocations: 2.611 MB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.2619, allocations: 1.638 MB / 0.9835 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005005/0.2624, allocations: 19.94 kB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.2627, allocations: 110.9 kB / 0.9836 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.2631, allocations: 89.06 kB / 0.9837 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.2635, allocations: 215.7 kB / 0.9839 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007422/0.2643, allocations: 0.9438 MB / 0.9848 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007378/0.265, allocations: 0.5724 MB / 0.9854 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.2653, allocations: 246.5 kB / 0.9856 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.2655, allocations: 294 kB / 0.9859 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.2656, allocations: 28 kB / 0.9859 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.686e-05/0.2657, allocations: 24 kB / 0.9859 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.061e-05/0.2658, allocations: 131.2 kB / 0.986 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.297e-05/0.2659, allocations: 169.1 kB / 0.9862 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006119/0.2665, allocations: 0.9742 MB / 0.9872 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.2665, allocations: 3.984 kB / 0.9872 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2665, allocations: 4 kB / 0.9872 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.2665, allocations: 0 / 0.9872 GB, free: 20.07 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.00169/0.2682, allocations: 1.177 MB / 0.9883 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.2683, allocations: 8.031 kB / 0.9883 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.2684, allocations: 115.5 kB / 0.9884 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006976/0.2691, allocations: 0.5948 MB / 0.989 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/0.2692, allocations: 70.31 kB / 0.9891 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.2693, allocations: 96.28 kB / 0.9892 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.2706, allocations: 0.8515 MB / 0.99 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.2706, allocations: 4.172 kB / 0.99 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.2707, allocations: 39.94 kB / 0.99 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.2707, allocations: 20 kB / 0.9901 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.2718, allocations: 0.6246 MB / 0.9907 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/0.2752, allocations: 2.736 MB / 0.9933 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.2765, allocations: 1.334 MB / 0.9946 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005522/0.2771, allocations: 386.6 kB / 0.995 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.146e-05/0.2771, allocations: 8.562 kB / 0.995 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006198/0.2778, allocations: 347.1 kB / 0.9954 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 4.378e-06/0.2778, allocations: 0 / 0.9954 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.00151/0.2793, allocations: 0.8027 MB / 0.9961 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.2794, allocations: 170.7 kB / 0.9963 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.28, allocations: 0.5901 MB / 0.9969 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.2801, allocations: 41.7 kB / 0.9969 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.2803, allocations: 420 kB / 0.9973 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.2805, allocations: 232.6 kB / 0.9975 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.2805, allocations: 12 kB / 0.9975 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2806, allocations: 390.7 kB / 0.9979 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/0.2811, allocations: 233.2 kB / 0.9981 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.2815, allocations: 349.4 kB / 0.9985 GB, free: 8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008873/0.2824, allocations: 0.5195 MB / 0.999 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2824, allocations: 0 / 0.999 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001265/0.2837, allocations: 0.676 MB / 0.9996 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/0.2838, allocations: 122.2 kB / 0.9998 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2838, allocations: 0 / 0.9998 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.2838, allocations: 4 kB / 0.9998 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.2844, allocations: 147.8 kB / 0.9999 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.2844, allocations: 11.94 kB / 0.9999 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.2848, allocations: 107.4 kB / 1 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.2848, allocations: 24 kB / 1 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.2849, allocations: 2.344 kB / 1 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005639/0.2854, allocations: 471.6 kB / 1 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.2854, allocations: 0 / 1 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-06/0.2855, allocations: 8 kB / 1.001 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.2858, allocations: 123.8 kB / 1.001 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2858, allocations: 7.938 kB / 1.001 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.2861, allocations: 83.44 kB / 1.001 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.2861, allocations: 20 kB / 1.001 GB, free: 5.668 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.0004281/0.2866, allocations: 296.9 kB / 1.001 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/0.2867, allocations: 79 kB / 1.001 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.2868, allocations: 82.95 kB / 1.001 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2868, allocations: 3.984 kB / 1.001 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2868, allocations: 4 kB / 1.001 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2869, allocations: 156 kB / 1.001 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.287, allocations: 16 kB / 1.001 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.2873, allocations: 55.95 kB / 1.001 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.2874, allocations: 44.44 kB / 1.001 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001404/0.2888, allocations: 0.7525 MB / 1.002 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001419/0.2902, allocations: 1.119 MB / 1.003 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004141/0.2906, allocations: 292.3 kB / 1.004 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004065/0.291, allocations: 423 kB / 1.004 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of Backend: time 7.01e-07/0.291, allocations: 0 / 1.004 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.2924, allocations: 0.7011 MB / 1.005 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of SimCode: time 0.002501/0.2949, allocations: 2.167 MB / 1.007 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.01761/0.3125, allocations: 8.553 MB / 1.015 GB, free: 6.887 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)