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.0014/0.0014, allocations: 107.2 kB / 16.29 MB, free: 6.023 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.001458/0.001458, allocations: 181.6 kB / 17.22 MB, free: 5.633 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.729/1.729, 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 2.101/2.101, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001699/0.001699, allocations: 71.91 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2692, allocations: 114.6 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002222/0.2715, allocations: 0.8153 MB / 0.7849 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.2731, allocations: 1.011 MB / 0.7859 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.2733, allocations: 3.938 kB / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.2734, allocations: 11.88 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.2736, allocations: 27.72 kB / 0.7859 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.274, allocations: 83.83 kB / 0.786 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.2742, allocations: 123.6 kB / 0.7861 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.2743, allocations: 53.38 kB / 0.7862 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.457e-05/0.2744, allocations: 51.89 kB / 0.7862 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.2745, allocations: 55.75 kB / 0.7863 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.2745, allocations: 12 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.2747, allocations: 87.86 kB / 0.7864 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.2748, allocations: 39.83 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.2748, allocations: 59.66 kB / 0.7865 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.2751, allocations: 191.5 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2752, allocations: 4 kB / 0.7867 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2752, allocations: 0 / 0.7867 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.2752, allocations: 4 kB / 0.7867 GB, free: 1.258 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.000817/0.276, allocations: 478.8 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.276, allocations: 8.031 kB / 0.7871 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.2761, allocations: 16.75 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.2764, allocations: 213.4 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.2764, allocations: 384 / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.2764, allocations: 16.38 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.277, allocations: 178 kB / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.277, allocations: 4.188 kB / 0.7875 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.2771, allocations: 7.938 kB / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.2771, allocations: 15.98 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007186/0.2779, allocations: 206.7 kB / 0.7877 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4905/0.7683, allocations: 453.7 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.7688, allocations: 139 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.7691, allocations: 131.2 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.7692, allocations: 0 / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.7692, allocations: 30.56 kB / 0.7885 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.825e-06/0.7692, allocations: 1.625 kB / 0.7885 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.001072/0.7703, allocations: 397.2 kB / 0.7888 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.7703, allocations: 53.94 kB / 0.7889 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.7705, allocations: 146 kB / 0.789 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.7705, allocations: 30.77 kB / 0.7891 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.7706, allocations: 110.8 kB / 0.7892 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.7706, allocations: 48.03 kB / 0.7892 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.7707, allocations: 22.3 kB / 0.7892 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.7708, allocations: 328.9 kB / 0.7896 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.7711, allocations: 112.3 kB / 0.7897 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.7714, allocations: 114.8 kB / 0.7898 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/0.772, allocations: 239.6 kB / 0.79 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.772, allocations: 1.125 kB / 0.79 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006804/0.7727, allocations: 285 kB / 0.7903 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.7727, allocations: 5.219 kB / 0.7903 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7727, allocations: 0 / 0.7903 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.7728, allocations: 1.062 kB / 0.7903 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.773, allocations: 42.52 kB / 0.7903 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.773, allocations: 0 / 0.7903 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.7732, allocations: 31.38 kB / 0.7903 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.7732, allocations: 2.438 kB / 0.7904 GB, free: 47.85 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.0001358/0.7734, allocations: 136.7 kB / 0.7905 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.7734, allocations: 9.875 kB / 0.7905 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.7735, allocations: 15.19 kB / 0.7905 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.7735, allocations: 9.266 kB / 0.7905 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7735, allocations: 2.656 kB / 0.7905 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7735, allocations: 0.6562 kB / 0.7905 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.7738, allocations: 235.1 kB / 0.7907 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7738, allocations: 0.5 kB / 0.7907 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.774, allocations: 37.11 kB / 0.7908 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.774, allocations: 1.312 kB / 0.7908 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.774, allocations: 2.625 kB / 0.7908 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.774, allocations: 2.875 kB / 0.7908 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.774, allocations: 0.5625 kB / 0.7908 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.7747, allocations: 379.5 kB / 0.7911 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.7747, allocations: 91.55 kB / 0.7912 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.7748, allocations: 3.875 kB / 0.7912 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.7749, allocations: 35.73 kB / 0.7913 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.775, allocations: 11.25 kB / 0.7913 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.775, allocations: 4.5 kB / 0.7913 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.294e-05/0.7751, allocations: 112.8 kB / 0.7914 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7751, allocations: 0 / 0.7914 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002893/0.7754, allocations: 39.19 kB / 0.7914 GB, free: 47.21 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.0002297/0.7757, allocations: 123.4 kB / 0.7915 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000715/0.7764, allocations: 259.7 kB / 0.7918 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7764, allocations: 0 / 0.7918 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.7767, allocations: 135.1 kB / 0.7919 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.7771, allocations: 23 kB / 0.7919 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.7777, allocations: 326.2 kB / 0.7923 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.7779, allocations: 0.7143 MB / 0.793 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.282e-05/0.7779, allocations: 22.58 kB / 0.793 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.778, allocations: 14.41 kB / 0.793 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.778, allocations: 3.375 kB / 0.793 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.004752/0.7827, allocations: 1.891 MB / 0.7948 GB, free: 46.21 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)