Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.001481, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001867/0.001867, allocations: 201 kB / 16.14 MB, free: 6.77 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.704/1.704, allocations: 205.1 MB / 222 MB, free: 4.77 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.8/1.8, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.002667/0.002667, allocations: 70.97 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2847, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002492/0.2872, allocations: 0.8799 MB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.2888, allocations: 1.032 MB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.2889, allocations: 8 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.289, allocations: 3.938 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.2891, allocations: 11.86 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.2895, allocations: 71.86 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.2897, allocations: 111.7 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.2898, allocations: 41.39 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.29, allocations: 59.77 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.2901, allocations: 55.75 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.2901, allocations: 8 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.2902, allocations: 59.89 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.2903, allocations: 31.91 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.418e-05/0.2904, allocations: 51.61 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.2907, allocations: 187.7 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2907, allocations: 0 / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2907, allocations: 0 / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2907, allocations: 0 / 0.7852 GB, free: 11.37 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000994/0.2917, allocations: 482.9 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.2918, allocations: 8.031 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.2918, allocations: 16.75 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.2921, allocations: 207.9 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.2921, allocations: 8.375 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.2921, allocations: 4.375 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.2927, allocations: 190.7 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2927, allocations: 4.125 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.2927, allocations: 7.938 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.2928, allocations: 8 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007095/0.2935, allocations: 207.8 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.2945, allocations: 456.3 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.295, allocations: 146.4 kB / 0.7869 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.2953, allocations: 128.8 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.2954, allocations: 4 kB / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.2954, allocations: 34.56 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.2954, allocations: 0 / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001254/0.2967, allocations: 397.3 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2967, allocations: 51.41 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2968, allocations: 149 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2969, allocations: 25.7 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.2969, allocations: 116.3 kB / 0.7878 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.297, allocations: 47.3 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2971, allocations: 21.72 kB / 0.7878 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2973, allocations: 322.8 kB / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.2976, allocations: 115.9 kB / 0.7882 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.298, allocations: 111.9 kB / 0.7884 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006819/0.2987, allocations: 243.6 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2987, allocations: 0 / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008295/0.2995, allocations: 285.2 kB / 0.7889 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2996, allocations: 4 kB / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2996, allocations: 0 / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2996, allocations: 0 / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.2998, allocations: 39.89 kB / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2998, allocations: 4 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.3, allocations: 35.8 kB / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.3001, allocations: 4 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 2 * Algorithm blocks: 0 * 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.0001021/0.3002, allocations: 129.1 kB / 0.7891 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.3002, allocations: 11.84 kB / 0.7891 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.3003, allocations: 16.83 kB / 0.7891 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.3003, allocations: 8 kB / 0.7891 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3003, allocations: 4 kB / 0.7891 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3003, allocations: 3.938 kB / 0.7891 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.3006, allocations: 233.4 kB / 0.7893 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3006, allocations: 0 / 0.7893 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.3008, allocations: 39.95 kB / 0.7894 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3008, allocations: 0 / 0.7894 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3009, allocations: 3.984 kB / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3009, allocations: 0 / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3009, allocations: 7.938 kB / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/0.3017, allocations: 378.2 kB / 0.7897 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.3017, allocations: 96.84 kB / 0.7898 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3018, allocations: 0 / 0.7898 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.302, allocations: 31.95 kB / 0.7899 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.3021, allocations: 11.92 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.3021, allocations: 8 kB / 0.7899 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.806e-05/0.3022, allocations: 113.7 kB / 0.79 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3022, allocations: 4 kB / 0.79 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003/0.3025, allocations: 40 kB / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 2 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002352/0.3027, allocations: 119.2 kB / 0.7901 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008097/0.3036, allocations: 255.7 kB / 0.7904 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3036, allocations: 0 / 0.7904 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.304, allocations: 131.9 kB / 0.7905 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.3044, allocations: 23.98 kB / 0.7905 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.305, allocations: 368.5 kB / 0.7909 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3054, allocations: 0.7238 MB / 0.7916 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.488e-05/0.3055, allocations: 19.97 kB / 0.7916 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.3055, allocations: 15.38 kB / 0.7916 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.3055, allocations: 4 kB / 0.7916 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of Templates: time 0.004301/0.3098, allocations: 1.56 MB / 0.7932 GB, free: 2.895 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)