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.00106/0.00106, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001067/0.001067, allocations: 193.4 kB / 16.13 MB, free: 6.652 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.53/1.53, allocations: 205.1 MB / 222 MB, free: 4.746 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.782/1.782, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001351/0.001351, allocations: 71.12 kB / 0.6708 GB, free: 26.63 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2668, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.003446/0.2703, allocations: 2.099 MB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.2725, allocations: 1.577 MB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.2727, allocations: 11.94 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.273, allocations: 59.38 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.2733, allocations: 67.52 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005361/0.2738, allocations: 278.5 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005216/0.2743, allocations: 0.5983 MB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.2748, allocations: 300.5 kB / 0.7876 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.2749, allocations: 214.9 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.2752, allocations: 246.6 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.981e-05/0.2753, allocations: 36 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.2754, allocations: 47.92 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.353e-05/0.2755, allocations: 107.5 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.2757, allocations: 258.4 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.2763, allocations: 0.7594 MB / 0.7892 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2763, allocations: 0 / 0.7892 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2763, allocations: 0 / 0.7892 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.2763, allocations: 0 / 0.7892 GB, free: 7.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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001465/0.2778, allocations: 0.9187 MB / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2778, allocations: 8.031 kB / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.2779, allocations: 68.19 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/0.2785, allocations: 422.9 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.2785, allocations: 41.38 kB / 0.7906 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-05/0.2786, allocations: 52.38 kB / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.2794, allocations: 467.5 kB / 0.7911 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2794, allocations: 192 / 0.7911 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.2795, allocations: 27.94 kB / 0.7911 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.2795, allocations: 8 kB / 0.7911 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000608/0.2801, allocations: 331.7 kB / 0.7914 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.2821, allocations: 1.461 MB / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009014/0.283, allocations: 0.8619 MB / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.2834, allocations: 197.3 kB / 0.7939 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.2834, allocations: 7.984 kB / 0.7939 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004614/0.2839, allocations: 227.9 kB / 0.7941 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/0.2839, allocations: 0 / 0.7941 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.000919/0.2848, allocations: 488.3 kB / 0.7946 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.2849, allocations: 110.8 kB / 0.7947 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/0.2853, allocations: 397.5 kB / 0.7951 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.2854, allocations: 41.7 kB / 0.7951 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.2856, allocations: 260.3 kB / 0.7953 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/0.2857, allocations: 138 kB / 0.7955 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.2859, allocations: 90.11 kB / 0.7956 GB, free: 428 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.286, allocations: 354.8 kB / 0.7959 GB, free: 64 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.2863, allocations: 162.6 kB / 0.7961 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.2867, allocations: 259 kB / 0.7963 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006044/0.2873, allocations: 395.9 kB / 0.7967 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2873, allocations: 4 kB / 0.7967 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008669/0.2882, allocations: 0.5198 MB / 0.7972 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.2883, allocations: 40.36 kB / 0.7972 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2883, allocations: 0 / 0.7972 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2883, allocations: 8.156 kB / 0.7972 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.2887, allocations: 87.89 kB / 0.7973 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.2887, allocations: 7.938 kB / 0.7973 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.2891, allocations: 87.41 kB / 0.7974 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.2891, allocations: 19.98 kB / 0.7974 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003628/0.2895, allocations: 257 kB / 0.7977 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003003/0.2898, allocations: 237.9 kB / 0.7979 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004509/0.2902, allocations: 358.3 kB / 0.7982 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.2903, allocations: 0 / 0.7982 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0006937/0.291, allocations: 479 kB / 0.7987 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.291, allocations: 45.72 kB / 0.7987 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.291, allocations: 4 kB / 0.7987 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.291, allocations: 4 kB / 0.7987 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.2913, allocations: 71.91 kB / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2913, allocations: 7.938 kB / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.2916, allocations: 63.7 kB / 0.7989 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.2917, allocations: 23.98 kB / 0.7989 GB, free: 12.8 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.0001429/0.2918, allocations: 214.9 kB / 0.7991 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.2919, allocations: 43.44 kB / 0.7992 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.123e-05/0.292, allocations: 56.75 kB / 0.7992 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.292, allocations: 7.938 kB / 0.7992 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.292, allocations: 0 / 0.7992 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.292, allocations: 0 / 0.7992 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.2934, allocations: 0.9913 MB / 0.8002 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2934, allocations: 0 / 0.8002 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.2937, allocations: 75.89 kB / 0.8003 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2937, allocations: 0 / 0.8003 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.2938, allocations: 8 kB / 0.8003 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2938, allocations: 4 kB / 0.8003 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2938, allocations: 0 / 0.8003 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009558/0.2947, allocations: 0.6446 MB / 0.8009 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.228e-05/0.2948, allocations: 128.5 kB / 0.801 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.2949, allocations: 8 kB / 0.801 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.2951, allocations: 23.98 kB / 0.8011 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.2952, allocations: 20.06 kB / 0.8011 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.2952, allocations: 19.97 kB / 0.8011 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000278/0.2955, allocations: 279.2 kB / 0.8014 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2955, allocations: 0 / 0.8014 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005151/0.296, allocations: 187.3 kB / 0.8015 GB, free: 10.02 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.0002032/0.2962, allocations: 123 kB / 0.8017 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.2973, allocations: 0.7174 MB / 0.8024 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2973, allocations: 0 / 0.8024 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.2976, allocations: 176.8 kB / 0.8025 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.2982, allocations: 93.38 kB / 0.8026 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.2996, allocations: 1.062 MB / 0.8036 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.3001, allocations: 0.847 MB / 0.8045 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001829/0.3002, allocations: 47.33 kB / 0.8045 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.3003, allocations: 43.42 kB / 0.8046 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.3004, allocations: 0 / 0.8046 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of Templates: time 0.0103/0.3107, allocations: 5.408 MB / 0.8098 GB, free: 1.477 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)