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.914/1.914, allocations: 288.4 MB / 304.3 MB, free: 8.039 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.001139/0.001139, allocations: 180.4 kB / 372.9 MB, free: 10.14 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.689/1.689, allocations: 205.4 MB / 0.6316 GB, free: 9.832 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.000932/0.0009316, allocations: 84.78 kB / 0.745 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004292, allocations: 17.94 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2428, allocations: 115.3 MB / 0.9808 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003237/0.2461, allocations: 2.611 MB / 0.9833 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00353/0.2497, allocations: 1.638 MB / 0.9849 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.251, allocations: 15.94 kB / 0.9849 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006944/0.2517, allocations: 110.9 kB / 0.985 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008866/0.2526, allocations: 91.3 kB / 0.9851 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.2534, allocations: 219.7 kB / 0.9853 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.2547, allocations: 0.9399 MB / 0.9862 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009812/0.2557, allocations: 0.5802 MB / 0.9868 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.2561, allocations: 242.5 kB / 0.987 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.2564, allocations: 297.9 kB / 0.9873 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.2566, allocations: 32 kB / 0.9873 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.369e-05/0.2567, allocations: 24 kB / 0.9874 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.2568, allocations: 139.2 kB / 0.9875 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.2571, allocations: 359.3 kB / 0.9878 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007239/0.2578, allocations: 0.9703 MB / 0.9888 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2578, allocations: 0 / 0.9888 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2579, allocations: 0 / 0.9888 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.2579, allocations: 0 / 0.9888 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.002114/0.26, allocations: 1.181 MB / 0.9899 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.815e-05/0.2601, allocations: 12.03 kB / 0.99 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.2603, allocations: 119.5 kB / 0.9901 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008337/0.2611, allocations: 0.5909 MB / 0.9907 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/0.2612, allocations: 66.38 kB / 0.9907 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.646e-05/0.2613, allocations: 96.28 kB / 0.9908 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.2625, allocations: 0.8593 MB / 0.9916 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2626, allocations: 192 / 0.9916 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.2626, allocations: 43.94 kB / 0.9917 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.2627, allocations: 20 kB / 0.9917 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.2637, allocations: 0.6246 MB / 0.9923 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/0.2669, allocations: 2.732 MB / 0.995 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.2682, allocations: 1.322 MB / 0.9963 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.2687, allocations: 386.6 kB / 0.9966 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.2688, allocations: 8.562 kB / 0.9967 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005922/0.2694, allocations: 351 kB / 0.997 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 3.526e-06/0.2694, allocations: 0 / 0.997 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.001371/0.2708, allocations: 0.8066 MB / 0.9978 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.2709, allocations: 166.7 kB / 0.9979 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/0.2715, allocations: 0.5901 MB / 0.9985 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.2715, allocations: 45.69 kB / 0.9986 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.2718, allocations: 416 kB / 0.999 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.2721, allocations: 236.5 kB / 0.9992 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.2721, allocations: 8 kB / 0.9992 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.2723, allocations: 390.7 kB / 0.9996 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.2727, allocations: 233.3 kB / 0.9998 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.2732, allocations: 349.3 kB / 1 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008195/0.274, allocations: 0.5195 MB / 1.001 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.274, allocations: 0 / 1.001 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001029/0.2751, allocations: 0.676 MB / 1.001 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/0.2752, allocations: 114.1 kB / 1.001 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.2752, allocations: 4 kB / 1.001 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.2752, allocations: 8.094 kB / 1.001 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/0.2757, allocations: 151.8 kB / 1.002 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.2758, allocations: 8.016 kB / 1.002 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.2762, allocations: 103.4 kB / 1.002 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.2762, allocations: 27.92 kB / 1.002 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2762, allocations: 5.875 kB / 1.002 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006216/0.2769, allocations: 467.6 kB / 1.002 GB, free: 4.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.2769, allocations: 12.08 kB / 1.002 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.2769, allocations: 4 kB / 1.002 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.2773, allocations: 123.8 kB / 1.002 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2773, allocations: 7.938 kB / 1.002 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.2776, allocations: 79.34 kB / 1.002 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.2776, allocations: 24 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.0003347/0.2779, allocations: 302.5 kB / 1.003 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.278, allocations: 71.06 kB / 1.003 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.2781, allocations: 82.95 kB / 1.003 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2782, allocations: 3.984 kB / 1.003 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2782, allocations: 0 / 1.003 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.2783, allocations: 160 kB / 1.003 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.2784, allocations: 16 kB / 1.003 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.2786, allocations: 55.95 kB / 1.003 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.2787, allocations: 40.45 kB / 1.003 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001364/0.2801, allocations: 0.7564 MB / 1.004 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001467/0.2816, allocations: 1.122 MB / 1.005 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004247/0.282, allocations: 292.3 kB / 1.005 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004022/0.2824, allocations: 415.1 kB / 1.006 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of Backend: time 2.6e-07/0.2824, allocations: 0 / 1.006 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.2838, allocations: 0.7155 MB / 1.006 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of SimCode: time 0.002755/0.2866, allocations: 2.16 MB / 1.008 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.01683/0.3034, allocations: 8.643 MB / 1.017 GB, free: 5.754 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)