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.001678/0.001678, allocations: 101.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.002495/0.002495, allocations: 190.8 kB / 16.64 MB, free: 6.445 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.641/1.641, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.903/1.903, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002804/0.002803, allocations: 68.75 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.291, allocations: 114.6 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.00244/0.2935, allocations: 0.8283 MB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2951, allocations: 1.007 MB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.2952, allocations: 4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.2953, allocations: 11.88 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-05/0.2954, allocations: 19.73 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.2959, allocations: 91.83 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.2961, allocations: 123.6 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.2963, allocations: 45.39 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2964, allocations: 63.81 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.548e-05/0.2965, allocations: 51.77 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.2965, allocations: 12 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.2967, allocations: 95.84 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.2968, allocations: 31.91 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.346e-05/0.2969, allocations: 55.61 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.2972, allocations: 203.2 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2972, allocations: 4 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2972, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.2972, allocations: 0 / 0.7867 GB, free: 10.04 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.0009263/0.2982, allocations: 470.9 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.2982, allocations: 8.031 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.2983, allocations: 20.73 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.2985, allocations: 199.1 kB / 0.7874 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2986, allocations: 8.359 kB / 0.7874 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.2986, allocations: 16.3 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.2991, allocations: 182.8 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2992, allocations: 192 / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.2992, allocations: 11.88 kB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/0.2992, allocations: 8 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.3001, allocations: 207.8 kB / 0.7878 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009417/0.301, allocations: 456.2 kB / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.3014, allocations: 134.5 kB / 0.7884 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.3018, allocations: 132.8 kB / 0.7885 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3018, allocations: 3.984 kB / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.3019, allocations: 38.48 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3019, allocations: 0 / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.00123/0.3031, allocations: 404.5 kB / 0.7889 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.3032, allocations: 51.41 kB / 0.789 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3033, allocations: 150.2 kB / 0.7891 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3033, allocations: 29.7 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3035, allocations: 104.4 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.3035, allocations: 43.3 kB / 0.7893 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.3036, allocations: 25.7 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002298/0.3038, allocations: 326.8 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.3043, allocations: 111.9 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.3046, allocations: 111.9 kB / 0.7898 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.3053, allocations: 248.6 kB / 0.7901 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3054, allocations: 0 / 0.7901 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008245/0.3062, allocations: 273.2 kB / 0.7903 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3062, allocations: 12 kB / 0.7903 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3062, allocations: 240 / 0.7903 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3062, allocations: 0 / 0.7903 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.3065, allocations: 31.95 kB / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3065, allocations: 3.984 kB / 0.7904 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.3067, allocations: 39.8 kB / 0.7904 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.3067, allocations: 4 kB / 0.7904 GB, free: 6.027 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.0001066/0.3068, allocations: 137 kB / 0.7905 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.3068, allocations: 7.906 kB / 0.7906 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.3069, allocations: 16.83 kB / 0.7906 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.3069, allocations: 8 kB / 0.7906 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3069, allocations: 0 / 0.7906 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3069, allocations: 7.938 kB / 0.7906 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.3072, allocations: 229.4 kB / 0.7908 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3072, allocations: 0 / 0.7908 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.3074, allocations: 39.95 kB / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3074, allocations: 0 / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3074, allocations: 11.94 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3075, allocations: 3.984 kB / 0.7909 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3075, allocations: 0 / 0.7909 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.3083, allocations: 382.2 kB / 0.7912 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.3084, allocations: 96.84 kB / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.3084, allocations: 0 / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.3086, allocations: 35.95 kB / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.3087, allocations: 15.92 kB / 0.7914 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3087, allocations: 4 kB / 0.7914 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.63e-05/0.3088, allocations: 109.5 kB / 0.7915 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3088, allocations: 0 / 0.7915 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002953/0.3091, allocations: 43.97 kB / 0.7915 GB, free: 4.812 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.000243/0.3094, allocations: 115.2 kB / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009035/0.3103, allocations: 255.7 kB / 0.7919 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.3103, allocations: 7.938 kB / 0.7919 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003851/0.3107, allocations: 127.9 kB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3111, allocations: 18.48 kB / 0.792 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.3118, allocations: 334.7 kB / 0.7923 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3121, allocations: 0.7197 MB / 0.793 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.965e-05/0.3122, allocations: 19.95 kB / 0.7931 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.3123, allocations: 11.44 kB / 0.7931 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3123, allocations: 8 kB / 0.7931 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of Templates: time 0.005531/0.3178, allocations: 1.891 MB / 0.7949 GB, free: 1.285 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)