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.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 288.4 MB / 304.3 MB, free: 8.141 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.0009556/0.0009556, allocations: 195.7 kB / 372.9 MB, free: 10.12 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.56/1.56, allocations: 205.4 MB / 0.6316 GB, free: 9.863 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.0009486/0.0009486, allocations: 96.19 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004947, allocations: 14.06 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2689, allocations: 115.3 MB / 0.9808 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002093/0.271, allocations: 1.653 MB / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.2731, allocations: 1.62 MB / 0.984 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.2734, allocations: 8 kB / 0.984 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.2736, allocations: 59.38 kB / 0.984 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.2739, allocations: 73.61 kB / 0.9841 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.2746, allocations: 308.3 kB / 0.9844 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00052/0.2751, allocations: 0.6606 MB / 0.985 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/0.2756, allocations: 309.2 kB / 0.9853 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.2757, allocations: 191.1 kB / 0.9855 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.276, allocations: 214.8 kB / 0.9857 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.2761, allocations: 27.94 kB / 0.9857 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.2762, allocations: 32 kB / 0.9858 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.2762, allocations: 91.53 kB / 0.9859 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.2764, allocations: 260.2 kB / 0.9861 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.2769, allocations: 0.6586 MB / 0.9868 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.2769, allocations: 4 kB / 0.9868 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.075e-06/0.277, allocations: 0 / 0.9868 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.277, allocations: 0 / 0.9868 GB, free: 21.14 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001354/0.2783, allocations: 0.8776 MB / 0.9876 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.2784, allocations: 11.97 kB / 0.9876 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2785, allocations: 72.09 kB / 0.9877 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.279, allocations: 442.9 kB / 0.9881 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.2791, allocations: 41.38 kB / 0.9882 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.351e-05/0.2792, allocations: 60.38 kB / 0.9882 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.2799, allocations: 0.4917 MB / 0.9887 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.2799, allocations: 192 / 0.9887 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.28, allocations: 27.92 kB / 0.9887 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.28, allocations: 16 kB / 0.9887 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005978/0.2806, allocations: 355.8 kB / 0.9891 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.2825, allocations: 1.582 MB / 0.9906 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/0.2833, allocations: 0.8969 MB / 0.9915 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.2836, allocations: 224.6 kB / 0.9917 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.2837, allocations: 15.88 kB / 0.9917 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004908/0.2842, allocations: 260.6 kB / 0.992 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.375e-06/0.2842, allocations: 0 / 0.992 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.0009034/0.2851, allocations: 0.5532 MB / 0.9925 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.2851, allocations: 115.2 kB / 0.9926 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.2855, allocations: 409.9 kB / 0.993 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.2856, allocations: 41.69 kB / 0.9931 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.2857, allocations: 261 kB / 0.9933 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.563e-05/0.2858, allocations: 153.8 kB / 0.9934 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.2858, allocations: 12 kB / 0.9935 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.2859, allocations: 362.8 kB / 0.9938 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.2863, allocations: 193 kB / 0.994 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.2867, allocations: 287.4 kB / 0.9943 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006001/0.2873, allocations: 469.5 kB / 0.9947 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2873, allocations: 0 / 0.9947 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009214/0.2882, allocations: 0.6317 MB / 0.9953 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.634e-05/0.2884, allocations: 203.2 kB / 0.9955 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2884, allocations: 0 / 0.9955 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.2884, allocations: 4 kB / 0.9955 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.2887, allocations: 91.83 kB / 0.9956 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.2888, allocations: 11.92 kB / 0.9956 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.2893, allocations: 143.4 kB / 0.9958 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.2893, allocations: 24 kB / 0.9958 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.2893, allocations: 1.562 kB / 0.9958 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007055/0.29, allocations: 0.5289 MB / 0.9963 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.29, allocations: 4 kB / 0.9963 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.2901, allocations: 7.938 kB / 0.9963 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.2903, allocations: 71.91 kB / 0.9964 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2903, allocations: 4 kB / 0.9964 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/0.2908, allocations: 123.7 kB / 0.9965 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.2908, allocations: 23.98 kB / 0.9965 GB, free: 10.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.000243/0.2911, allocations: 261 kB / 0.9968 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.2911, allocations: 47.38 kB / 0.9968 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.22e-05/0.2912, allocations: 53.19 kB / 0.9969 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2912, allocations: 3.984 kB / 0.9969 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2913, allocations: 0 / 0.9969 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/0.2913, allocations: 136.4 kB / 0.997 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.2914, allocations: 8 kB / 0.997 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.2916, allocations: 23.98 kB / 0.997 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.2917, allocations: 32.39 kB / 0.9971 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009084/0.2926, allocations: 0.5347 MB / 0.9976 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009534/0.2936, allocations: 0.8136 MB / 0.9984 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002608/0.2938, allocations: 191.5 kB / 0.9986 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002421/0.2941, allocations: 283.2 kB / 0.9988 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of Backend: time 1.012e-06/0.2941, allocations: 0 / 0.9988 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.2954, allocations: 0.9008 MB / 0.9997 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001502/0.2969, allocations: 1.517 MB / 1.001 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of Templates: time 0.01267/0.3096, allocations: 7.913 MB / 1.009 GB, free: 13.84 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)