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.001088/0.001088, allocations: 100.3 kB / 16.27 MB, free: 6.422 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.001084/0.001084, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.429/1.429, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.795/1.795, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001525/0.001526, allocations: 67.89 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2676, allocations: 114.6 MB / 0.7841 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002394/0.2701, allocations: 0.8154 MB / 0.7849 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2715, allocations: 1.011 MB / 0.7858 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.2716, allocations: 4 kB / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.2717, allocations: 11.81 kB / 0.7859 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.2718, allocations: 15.8 kB / 0.7859 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.2722, allocations: 87.83 kB / 0.786 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.2724, allocations: 123.6 kB / 0.7861 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.2726, allocations: 49.39 kB / 0.7861 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.2727, allocations: 51.83 kB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.067e-05/0.2728, allocations: 59.75 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.2728, allocations: 12 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.2729, allocations: 59.91 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.273, allocations: 35.91 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.001e-05/0.2731, allocations: 63.52 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.2734, allocations: 191.7 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.2734, allocations: 0 / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2734, allocations: 0 / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2734, allocations: 0 / 0.7866 GB, free: 1.297 MB / 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.0008982/0.2743, allocations: 478.9 kB / 0.787 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2743, allocations: 8.031 kB / 0.787 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.2744, allocations: 16.75 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.2746, allocations: 213.1 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2746, allocations: 8.375 kB / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.2747, allocations: 8.375 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.2752, allocations: 185.1 kB / 0.7875 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2752, allocations: 192 / 0.7875 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.2753, allocations: 7.922 kB / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.2753, allocations: 11.98 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007037/0.276, allocations: 211.7 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5006/0.7766, allocations: 452.8 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.7771, allocations: 136.5 kB / 0.7882 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.7774, allocations: 129.8 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.7775, allocations: 7.5 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.7775, allocations: 32.94 kB / 0.7884 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 4.198e-06/0.7775, allocations: 0 / 0.7884 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.001195/0.7787, allocations: 391.7 kB / 0.7888 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.7788, allocations: 53.34 kB / 0.7888 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.7789, allocations: 149.9 kB / 0.789 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.7789, allocations: 25.7 kB / 0.789 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.779, allocations: 109.9 kB / 0.7891 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.779, allocations: 51.95 kB / 0.7891 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.7791, allocations: 25.92 kB / 0.7892 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.7792, allocations: 325.4 kB / 0.7895 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.7795, allocations: 118.4 kB / 0.7896 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.7799, allocations: 106.6 kB / 0.7897 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006887/0.7806, allocations: 244.4 kB / 0.7899 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7806, allocations: 0 / 0.7899 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007749/0.7813, allocations: 280.7 kB / 0.7902 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.7814, allocations: 9.953 kB / 0.7902 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.7814, allocations: 0 / 0.7902 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.7814, allocations: 0 / 0.7902 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.7817, allocations: 35.52 kB / 0.7902 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.7817, allocations: 2.719 kB / 0.7902 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.7819, allocations: 43.33 kB / 0.7903 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.782, allocations: 2.766 kB / 0.7903 GB, free: 47.86 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 0.0001059/0.7821, allocations: 134 kB / 0.7904 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.7821, allocations: 9.156 kB / 0.7904 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.7822, allocations: 14.16 kB / 0.7904 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.7822, allocations: 11.11 kB / 0.7904 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7822, allocations: 1.031 kB / 0.7904 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7822, allocations: 0 / 0.7904 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.7825, allocations: 234.1 kB / 0.7907 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7825, allocations: 4.594 kB / 0.7907 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.7827, allocations: 35.3 kB / 0.7907 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7827, allocations: 2.375 kB / 0.7907 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.7827, allocations: 2.625 kB / 0.7907 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.7827, allocations: 1.688 kB / 0.7907 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7827, allocations: 0.8125 kB / 0.7907 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/0.7835, allocations: 386.1 kB / 0.7911 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.7836, allocations: 87.55 kB / 0.7912 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.7836, allocations: 2.625 kB / 0.7912 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.7838, allocations: 34.44 kB / 0.7912 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.7839, allocations: 16.53 kB / 0.7912 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.7839, allocations: 1.562 kB / 0.7912 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.469e-05/0.784, allocations: 115 kB / 0.7913 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.784, allocations: 0 / 0.7913 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003162/0.7843, allocations: 40.44 kB / 0.7914 GB, free: 47.22 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.0002473/0.7846, allocations: 119.3 kB / 0.7915 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009309/0.7855, allocations: 266.2 kB / 0.7917 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7855, allocations: 0.9375 kB / 0.7917 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.7859, allocations: 139.2 kB / 0.7919 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.7864, allocations: 21.38 kB / 0.7919 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000627/0.787, allocations: 352.1 kB / 0.7922 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.7873, allocations: 0.7215 MB / 0.7929 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.7873, allocations: 13.56 kB / 0.7929 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of SimCode: time 7.31e-07/0.7873, allocations: 0 / 0.7929 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.003958/0.7913, allocations: 1.882 MB / 0.7948 GB, free: 46.17 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)