Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00155/0.00155, allocations: 192.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.783/1.783, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001463/0.001463, allocations: 75.38 kB / 0.671 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2898, allocations: 114.5 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.003507/0.2933, allocations: 2.184 MB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.2959, allocations: 1.655 MB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.2962, allocations: 8 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.2965, allocations: 59.38 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.2968, allocations: 67.5 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000861/0.2977, allocations: 369.5 kB / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000743/0.2984, allocations: 0.7778 MB / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005442/0.299, allocations: 325.3 kB / 0.7882 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.2994, allocations: 298.8 kB / 0.7885 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.2997, allocations: 306.5 kB / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.2998, allocations: 84 kB / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.2999, allocations: 99.98 kB / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.3001, allocations: 151.5 kB / 0.7891 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002992/0.3004, allocations: 326.4 kB / 0.7894 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009212/0.3013, allocations: 0.8802 MB / 0.7902 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3013, allocations: 0 / 0.7902 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.534e-06/0.3013, allocations: 0 / 0.7902 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.3014, allocations: 0 / 0.7902 GB, free: 6.34 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001672/0.303, allocations: 0.9827 MB / 0.7912 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3031, allocations: 12.03 kB / 0.7912 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.3032, allocations: 72.19 kB / 0.7913 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.3038, allocations: 442.8 kB / 0.7917 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.3038, allocations: 45.38 kB / 0.7917 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.3039, allocations: 56.38 kB / 0.7918 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008177/0.3048, allocations: 495.5 kB / 0.7923 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3048, allocations: 4.125 kB / 0.7923 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.3048, allocations: 23.94 kB / 0.7923 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.3049, allocations: 12 kB / 0.7923 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.3055, allocations: 347.8 kB / 0.7926 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.3078, allocations: 1.57 MB / 0.7942 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009504/0.3088, allocations: 0.8659 MB / 0.795 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.3091, allocations: 227.1 kB / 0.7952 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.3092, allocations: 11.92 kB / 0.7953 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005466/0.3097, allocations: 252.9 kB / 0.7955 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.943e-06/0.3097, allocations: 0 / 0.7955 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47): time 0.001026/0.3108, allocations: 0.5336 MB / 0.796 GB, free: 112 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.3109, allocations: 107.2 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.3114, allocations: 413.9 kB / 0.7965 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.757e-05/0.3114, allocations: 41.7 kB / 0.7966 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.3117, allocations: 261 kB / 0.7968 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.3118, allocations: 149.8 kB / 0.7969 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.312, allocations: 110.2 kB / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3122, allocations: 358.8 kB / 0.7974 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.3126, allocations: 195 kB / 0.7976 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.313, allocations: 291.3 kB / 0.7979 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007663/0.3138, allocations: 453.6 kB / 0.7983 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3138, allocations: 0 / 0.7983 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001115/0.3149, allocations: 0.6274 MB / 0.7989 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.23e-05/0.315, allocations: 82.05 kB / 0.799 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.315, allocations: 0 / 0.799 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.3151, allocations: 7.938 kB / 0.799 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.3154, allocations: 79.89 kB / 0.7991 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.3154, allocations: 4 kB / 0.7991 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.316, allocations: 111.4 kB / 0.7992 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.316, allocations: 27.98 kB / 0.7992 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004026/0.3164, allocations: 293.9 kB / 0.7995 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000384/0.3168, allocations: 255.4 kB / 0.7997 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005051/0.3173, allocations: 413.6 kB / 0.8001 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.3173, allocations: 0 / 0.8001 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0008519/0.3182, allocations: 0.5925 MB / 0.8007 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.3183, allocations: 67.39 kB / 0.8008 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.3183, allocations: 0 / 0.8008 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/0.3183, allocations: 4.188 kB / 0.8008 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.3186, allocations: 75.91 kB / 0.8008 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3186, allocations: 7.938 kB / 0.8008 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.3191, allocations: 91.67 kB / 0.8009 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.3191, allocations: 31.97 kB / 0.801 GB, free: 10.79 MB / 0.6231 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,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.3193, allocations: 208.2 kB / 0.8012 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.3194, allocations: 55.27 kB / 0.8012 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.3195, allocations: 53.19 kB / 0.8013 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3196, allocations: 4 kB / 0.8013 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.3196, allocations: 0 / 0.8013 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3196, allocations: 3.984 kB / 0.8013 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.3211, allocations: 1.072 MB / 0.8023 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3211, allocations: 3.938 kB / 0.8023 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.3214, allocations: 71.91 kB / 0.8024 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3215, allocations: 7.938 kB / 0.8024 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.3215, allocations: 15.98 kB / 0.8024 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3215, allocations: 4 kB / 0.8024 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3215, allocations: 0 / 0.8024 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.3226, allocations: 0.6933 MB / 0.8031 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.3228, allocations: 128.5 kB / 0.8032 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.3228, allocations: 12 kB / 0.8032 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.323, allocations: 15.98 kB / 0.8032 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.3231, allocations: 32.39 kB / 0.8033 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.3232, allocations: 15.94 kB / 0.8033 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003769/0.3235, allocations: 295.1 kB / 0.8036 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3236, allocations: 0 / 0.8036 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007329/0.3243, allocations: 215.2 kB / 0.8038 GB, free: 7.801 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002876/0.3246, allocations: 127.1 kB / 0.8039 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.3263, allocations: 0.9578 MB / 0.8048 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3263, allocations: 0.625 kB / 0.8048 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.3266, allocations: 198.4 kB / 0.805 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.3274, allocations: 102.4 kB / 0.8051 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.3289, allocations: 1.135 MB / 0.8062 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.3293, allocations: 0.8591 MB / 0.8071 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002079/0.3295, allocations: 59.61 kB / 0.8071 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.3297, allocations: 39.42 kB / 0.8072 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.3297, allocations: 0 / 0.8072 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of Templates: time 0.01247/0.3422, allocations: 7.088 MB / 0.8141 GB, free: 13.2 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)