Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 103.2 kB / 15.98 MB, free: 6.348 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.001546/0.001546, allocations: 195 kB / 16.91 MB, free: 6.191 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.544/1.544, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.734/1.734, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001433/0.001433, allocations: 69.42 kB / 0.6717 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2761, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.003729/0.2799, allocations: 2.115 MB / 0.7856 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002807/0.2827, allocations: 1.558 MB / 0.7871 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003608/0.2832, allocations: 8 kB / 0.7871 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.2834, allocations: 55.44 kB / 0.7872 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.2838, allocations: 79.45 kB / 0.7873 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007594/0.2846, allocations: 271.8 kB / 0.7875 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007092/0.2853, allocations: 0.6725 MB / 0.7882 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005127/0.2858, allocations: 300.5 kB / 0.7885 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.2861, allocations: 262.9 kB / 0.7887 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.2864, allocations: 266.6 kB / 0.789 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.646e-05/0.2865, allocations: 79.98 kB / 0.789 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.2867, allocations: 87.92 kB / 0.7891 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2868, allocations: 135.6 kB / 0.7892 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.2871, allocations: 298.4 kB / 0.7895 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006605/0.2877, allocations: 0.6238 MB / 0.7901 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2877, allocations: 0 / 0.7901 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2878, allocations: 4 kB / 0.7901 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.2878, allocations: 0 / 0.7901 GB, free: 7.09 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001658/0.2894, allocations: 0.9109 MB / 0.791 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2895, allocations: 15.97 kB / 0.7911 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.2896, allocations: 64.19 kB / 0.7911 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/0.2902, allocations: 427 kB / 0.7915 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.2903, allocations: 37.38 kB / 0.7916 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.2904, allocations: 52.38 kB / 0.7916 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008456/0.2912, allocations: 475.5 kB / 0.7921 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2912, allocations: 4.125 kB / 0.7921 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.2913, allocations: 19.94 kB / 0.7921 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.2913, allocations: 12 kB / 0.7921 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006317/0.292, allocations: 331.7 kB / 0.7924 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.2941, allocations: 1.457 MB / 0.7938 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.2951, allocations: 0.8604 MB / 0.7947 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.2955, allocations: 209.3 kB / 0.7949 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.2955, allocations: 4 kB / 0.7949 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005292/0.2961, allocations: 215.9 kB / 0.7951 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 3.256e-06/0.2961, allocations: 0 / 0.7951 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.0009939/0.2971, allocations: 488.3 kB / 0.7955 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.756e-05/0.2972, allocations: 110.8 kB / 0.7957 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.2976, allocations: 401.5 kB / 0.796 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/0.2977, allocations: 37.7 kB / 0.7961 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.2979, allocations: 256.3 kB / 0.7963 GB, free: 424 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.298, allocations: 142 kB / 0.7965 GB, free: 280 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.2982, allocations: 98.11 kB / 0.7965 GB, free: 172 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.2984, allocations: 358.8 kB / 0.7969 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.2987, allocations: 158.5 kB / 0.797 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.2992, allocations: 262.9 kB / 0.7973 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.2998, allocations: 391.9 kB / 0.7977 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2998, allocations: 0 / 0.7977 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009476/0.3008, allocations: 0.5198 MB / 0.7982 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.3008, allocations: 37.69 kB / 0.7982 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3009, allocations: 4 kB / 0.7982 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.3009, allocations: 7.938 kB / 0.7982 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.3012, allocations: 87.83 kB / 0.7983 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.3013, allocations: 4.219 kB / 0.7983 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.3017, allocations: 87.41 kB / 0.7984 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.3017, allocations: 20 kB / 0.7984 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003875/0.3021, allocations: 265 kB / 0.7987 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00029/0.3024, allocations: 234 kB / 0.7989 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004529/0.3029, allocations: 354.3 kB / 0.7992 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-06/0.3029, allocations: 0 / 0.7992 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0007177/0.3036, allocations: 482.8 kB / 0.7997 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.3036, allocations: 33.7 kB / 0.7997 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3037, allocations: 4 kB / 0.7997 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.303e-06/0.3037, allocations: 8.219 kB / 0.7997 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.3039, allocations: 75.91 kB / 0.7998 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.304, allocations: 7.938 kB / 0.7998 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.3043, allocations: 67.69 kB / 0.7999 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3043, allocations: 19.94 kB / 0.7999 GB, free: 12.56 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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.0002105/0.3046, allocations: 218.7 kB / 0.8001 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.3046, allocations: 47.44 kB / 0.8001 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.3047, allocations: 52.77 kB / 0.8002 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3048, allocations: 7.938 kB / 0.8002 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3048, allocations: 0 / 0.8002 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3048, allocations: 4.078 kB / 0.8002 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.3062, allocations: 0.9953 MB / 0.8012 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3063, allocations: 0 / 0.8012 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.3066, allocations: 63.91 kB / 0.8012 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3066, allocations: 4 kB / 0.8012 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.3066, allocations: 11.98 kB / 0.8013 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3066, allocations: 4 kB / 0.8013 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3066, allocations: 0 / 0.8013 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3077, allocations: 0.6368 MB / 0.8019 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.3078, allocations: 128.5 kB / 0.802 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.3079, allocations: 8 kB / 0.802 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.3081, allocations: 23.97 kB / 0.802 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.3081, allocations: 23.97 kB / 0.8021 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.3082, allocations: 12 kB / 0.8021 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003086/0.3085, allocations: 283.1 kB / 0.8023 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3085, allocations: 0 / 0.8023 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006196/0.3091, allocations: 195.3 kB / 0.8025 GB, free: 9.766 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: 4 ($whenCondition3,$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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000245/0.3094, allocations: 115.2 kB / 0.8026 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.3106, allocations: 0.733 MB / 0.8033 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3107, allocations: 4 kB / 0.8034 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.311, allocations: 171.9 kB / 0.8035 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.3116, allocations: 107.4 kB / 0.8036 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.3132, allocations: 1.101 MB / 0.8047 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.3136, allocations: 0.8434 MB / 0.8055 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.3138, allocations: 43.44 kB / 0.8056 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.3138, allocations: 0 / 0.8056 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.009426/0.3232, allocations: 5.838 MB / 0.8113 GB, free: 0.7461 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)