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.00167/0.001677, allocations: 107.5 kB / 16.36 MB, free: 6.309 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.002137/0.002137, allocations: 189.2 kB / 17.29 MB, free: 5.875 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.671/1.671, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.776/1.776, allocations: 292.3 MB / 0.5496 GB, free: 17.36 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.001469/0.001469, allocations: 72.45 kB / 0.6729 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2818, allocations: 114.5 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002529/0.2844, allocations: 0.8414 MB / 0.7856 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.2859, allocations: 1.007 MB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.286, allocations: 0 / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.2862, allocations: 11.88 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.2862, allocations: 23.78 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.2867, allocations: 87.78 kB / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.2869, allocations: 123.6 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.2871, allocations: 49.38 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.2872, allocations: 55.83 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.274e-05/0.2873, allocations: 51.77 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.2874, allocations: 12 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.2876, allocations: 99.84 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.2876, allocations: 31.91 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.33e-05/0.2877, allocations: 59.59 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.288, allocations: 195.3 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.288, allocations: 0 / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.288, allocations: 7.938 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.288, allocations: 0 / 0.7874 GB, free: 480 kB / 0.6544 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.4819/0.7699, allocations: 466.7 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.77, allocations: 11.78 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.77, allocations: 14.69 kB / 0.7878 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.7702, allocations: 200.6 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.7702, allocations: 8.859 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.7702, allocations: 7.281 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.7708, allocations: 182.6 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.7708, allocations: 1.406 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.7709, allocations: 5.938 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.7709, allocations: 14.27 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006673/0.7716, allocations: 208.6 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.7724, allocations: 461.2 kB / 0.7889 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.7728, allocations: 138.3 kB / 0.789 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.7731, allocations: 129.8 kB / 0.7891 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.7732, allocations: 2.062 kB / 0.7891 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.7732, allocations: 35.64 kB / 0.7892 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.7732, allocations: 3.375 kB / 0.7892 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.001155/0.7743, allocations: 402.3 kB / 0.7896 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.7744, allocations: 51.41 kB / 0.7896 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.7745, allocations: 150.8 kB / 0.7898 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.7745, allocations: 27.67 kB / 0.7898 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.7746, allocations: 109 kB / 0.7899 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.7746, allocations: 45.55 kB / 0.7899 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.7746, allocations: 26.55 kB / 0.79 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.7747, allocations: 328.6 kB / 0.7903 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.7751, allocations: 110.1 kB / 0.7904 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.7754, allocations: 112.1 kB / 0.7905 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.7761, allocations: 237.7 kB / 0.7907 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.7761, allocations: 0.5625 kB / 0.7907 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007253/0.7768, allocations: 282.8 kB / 0.791 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.7768, allocations: 5.25 kB / 0.791 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.7768, allocations: 3.781 kB / 0.791 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7769, allocations: 0 / 0.791 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.7771, allocations: 33.53 kB / 0.791 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.7771, allocations: 2.625 kB / 0.791 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.7773, allocations: 38.45 kB / 0.7911 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.7773, allocations: 2.625 kB / 0.7911 GB, free: 47.52 MB / 0.6544 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 7.383e-05/0.7774, allocations: 132.9 kB / 0.7912 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.7774, allocations: 9.156 kB / 0.7912 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.7775, allocations: 14.06 kB / 0.7912 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/0.7775, allocations: 11.64 kB / 0.7912 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7775, allocations: 4.312 kB / 0.7912 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7775, allocations: 8.312 kB / 0.7912 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.7777, allocations: 231 kB / 0.7914 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7777, allocations: 2.078 kB / 0.7915 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.7779, allocations: 36.75 kB / 0.7915 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7779, allocations: 0 / 0.7915 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.7779, allocations: 0 / 0.7915 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.778, allocations: 5.531 kB / 0.7915 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.778, allocations: 0 / 0.7915 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.7787, allocations: 382.4 kB / 0.7919 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.7788, allocations: 95.36 kB / 0.7919 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.7788, allocations: 5.859 kB / 0.792 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.779, allocations: 27.61 kB / 0.792 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.7791, allocations: 16.58 kB / 0.792 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.7791, allocations: 7.062 kB / 0.792 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.882e-05/0.7791, allocations: 111.8 kB / 0.7921 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7791, allocations: 0 / 0.7921 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002727/0.7794, allocations: 38.5 kB / 0.7921 GB, free: 46.88 MB / 0.6544 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.0001828/0.7796, allocations: 118.9 kB / 0.7923 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007441/0.7804, allocations: 256 kB / 0.7925 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7804, allocations: 0 / 0.7925 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.7807, allocations: 144.2 kB / 0.7926 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.781, allocations: 21.78 kB / 0.7927 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.7816, allocations: 353.3 kB / 0.793 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.7817, allocations: 0.7208 MB / 0.7937 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.7818, allocations: 18.7 kB / 0.7937 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.7818, allocations: 0 / 0.7937 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.003173/0.785, allocations: 1.878 MB / 0.7956 GB, free: 45.82 MB / 0.6544 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)