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.001487/0.001487, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 193.4 kB / 16.64 MB, free: 6.453 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.574/1.574, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.927/1.927, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.00142/0.00142, allocations: 72.48 kB / 0.6723 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2639, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.003691/0.2677, allocations: 2.081 MB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.2701, allocations: 1.589 MB / 0.7877 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.2703, allocations: 7.938 kB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.2707, allocations: 91.06 kB / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.271, allocations: 87.19 kB / 0.7879 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006907/0.2717, allocations: 310.5 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000694/0.2724, allocations: 0.6841 MB / 0.7889 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004954/0.2729, allocations: 316.5 kB / 0.7892 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.2732, allocations: 255 kB / 0.7894 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.2735, allocations: 274.6 kB / 0.7897 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.714e-05/0.2736, allocations: 76 kB / 0.7897 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.2738, allocations: 83.98 kB / 0.7898 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.2739, allocations: 143.5 kB / 0.79 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.2741, allocations: 286.5 kB / 0.7902 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007271/0.2749, allocations: 0.8212 MB / 0.791 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2749, allocations: 0 / 0.791 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2749, allocations: 0 / 0.791 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.2749, allocations: 4 kB / 0.791 GB, free: 5.605 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.001531/0.2764, allocations: 0.9109 MB / 0.7919 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2765, allocations: 11.97 kB / 0.7919 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.2766, allocations: 72.17 kB / 0.792 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.2772, allocations: 419 kB / 0.7924 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.2773, allocations: 41.38 kB / 0.7924 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.2774, allocations: 56.36 kB / 0.7925 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.2781, allocations: 475.5 kB / 0.793 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2781, allocations: 192 / 0.793 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.2782, allocations: 19.94 kB / 0.793 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.2782, allocations: 12 kB / 0.793 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006118/0.2788, allocations: 327.8 kB / 0.7933 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.2808, allocations: 1.437 MB / 0.7947 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008894/0.2817, allocations: 0.8668 MB / 0.7955 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.2821, allocations: 204.7 kB / 0.7957 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.2821, allocations: 7.984 kB / 0.7958 GB, free: 500 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/0.2825, allocations: 223.2 kB / 0.796 GB, free: 264 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.854e-06/0.2825, allocations: 3.938 kB / 0.796 GB, free: 260 kB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.0009766/0.2835, allocations: 481 kB / 0.7964 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.2836, allocations: 118.6 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.2841, allocations: 401.5 kB / 0.7969 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.2841, allocations: 37.7 kB / 0.797 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.2843, allocations: 260.2 kB / 0.7972 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.2845, allocations: 138 kB / 0.7973 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.2846, allocations: 94.05 kB / 0.7974 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.2848, allocations: 350.8 kB / 0.7978 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.2851, allocations: 174.5 kB / 0.7979 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.2855, allocations: 254.9 kB / 0.7982 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/0.2861, allocations: 391.9 kB / 0.7985 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.2861, allocations: 4 kB / 0.7986 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009245/0.2871, allocations: 0.5161 MB / 0.7991 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.2871, allocations: 41.7 kB / 0.7991 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.2872, allocations: 4 kB / 0.7991 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.2872, allocations: 7.938 kB / 0.7991 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.2875, allocations: 87.83 kB / 0.7992 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.2876, allocations: 7.984 kB / 0.7992 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.2879, allocations: 75.48 kB / 0.7993 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.288, allocations: 27.98 kB / 0.7993 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003479/0.2883, allocations: 257.6 kB / 0.7995 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003043/0.2887, allocations: 234 kB / 0.7998 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004564/0.2891, allocations: 354.3 kB / 0.8001 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.2891, allocations: 0 / 0.8001 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.000697/0.2898, allocations: 482.8 kB / 0.8006 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.2899, allocations: 41.69 kB / 0.8006 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.2899, allocations: 0 / 0.8006 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.2899, allocations: 4 kB / 0.8006 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.2902, allocations: 75.91 kB / 0.8007 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.2902, allocations: 7.938 kB / 0.8007 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.2905, allocations: 67.92 kB / 0.8008 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.2906, allocations: 16 kB / 0.8008 GB, free: 11.1 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.0001625/0.2907, allocations: 216.1 kB / 0.801 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.2908, allocations: 43.44 kB / 0.801 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.381e-05/0.2909, allocations: 48.77 kB / 0.8011 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.2909, allocations: 11.94 kB / 0.8011 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2909, allocations: 7.938 kB / 0.8011 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.2909, allocations: 8.062 kB / 0.8011 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.2923, allocations: 0.9838 MB / 0.802 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2923, allocations: 0 / 0.802 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.2926, allocations: 67.91 kB / 0.8021 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2926, allocations: 7.922 kB / 0.8021 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.2926, allocations: 8 kB / 0.8021 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2926, allocations: 7.984 kB / 0.8021 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2927, allocations: 4 kB / 0.8021 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2937, allocations: 0.6381 MB / 0.8028 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.2938, allocations: 124.5 kB / 0.8029 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.2939, allocations: 11.98 kB / 0.8029 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.2941, allocations: 23.98 kB / 0.8029 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.2941, allocations: 19.97 kB / 0.8029 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.2942, allocations: 16 kB / 0.8029 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003045/0.2945, allocations: 279.2 kB / 0.8032 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2945, allocations: 0 / 0.8032 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000578/0.2951, allocations: 187.3 kB / 0.8034 GB, free: 8.309 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.000246/0.2953, allocations: 119.2 kB / 0.8035 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.2965, allocations: 0.7137 MB / 0.8042 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2965, allocations: 4.875 kB / 0.8042 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.2969, allocations: 171.6 kB / 0.8044 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/0.2974, allocations: 102.8 kB / 0.8045 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.299, allocations: 0.8664 MB / 0.8053 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.2994, allocations: 0.8434 MB / 0.8061 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001979/0.2996, allocations: 47.33 kB / 0.8062 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.2997, allocations: 43.42 kB / 0.8062 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2997, allocations: 0 / 0.8062 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of Templates: time 0.01037/0.3101, allocations: 5.66 MB / 0.8118 GB, free: 15.71 MB / 0.6387 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)