Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.524/3.524, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002797/0.002797, allocations: 182.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.424/2.424, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001584/0.001584, allocations: 80.81 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006914/0.0006917, allocations: 19.34 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2387, allocations: 115.3 MB / 0.9782 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001092/0.2399, allocations: 0.5181 MB / 0.9787 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2414, allocations: 1.009 MB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.2415, allocations: 0 / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.2416, allocations: 3.938 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.287e-05/0.2417, allocations: 27.83 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.2421, allocations: 59.88 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2422, allocations: 71.84 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2424, allocations: 41.36 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.2425, allocations: 39.84 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.646e-05/0.2426, allocations: 47.83 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.2427, allocations: 4 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.2428, allocations: 47.91 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.2429, allocations: 27.89 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.2429, allocations: 41.64 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.2431, allocations: 135.9 kB / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2432, allocations: 0 / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2432, allocations: 0 / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2432, allocations: 0 / 0.9802 GB, free: 26.26 MB / 0.6198 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.001072/0.2443, allocations: 486.7 kB / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.2443, allocations: 16.02 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.2444, allocations: 11.81 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.2446, allocations: 202.7 kB / 0.9809 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.2446, allocations: 8 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.2447, allocations: 7.984 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008904/0.2456, allocations: 210.9 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2456, allocations: 4 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.2456, allocations: 0 / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/0.2457, allocations: 12 kB / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.247, allocations: 259.7 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.2483, allocations: 488.4 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/0.2491, allocations: 166.4 kB / 0.982 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.2491, allocations: 4.078 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2492, allocations: 38.55 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.957e-06/0.2492, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002208/0.2514, allocations: 0.6263 MB / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.2515, allocations: 59.34 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2516, allocations: 150.1 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.2517, allocations: 25.7 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.2517, allocations: 112.3 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.2518, allocations: 43.3 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.2518, allocations: 0 / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.2519, allocations: 326.8 kB / 0.9834 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/0.2526, allocations: 139.9 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.2533, allocations: 139.9 kB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/0.2539, allocations: 145.3 kB / 0.9838 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.254, allocations: 0 / 0.9838 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001419/0.2554, allocations: 341.8 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.2554, allocations: 8 kB / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2555, allocations: 0 / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.2555, allocations: 7.891 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.2559, allocations: 55.89 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.2559, allocations: 0 / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.2563, allocations: 47.86 kB / 0.9842 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.2563, allocations: 8 kB / 0.9842 GB, free: 21.93 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.2565, allocations: 121.8 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.2565, allocations: 7.906 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.2566, allocations: 16.84 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.544e-05/0.2566, allocations: 15.94 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2567, allocations: 0 / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2567, allocations: 0 / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.257, allocations: 233.4 kB / 0.9846 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2571, allocations: 0 / 0.9846 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.2574, allocations: 51.95 kB / 0.9846 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.2575, allocations: 0 / 0.9846 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.2575, allocations: 0 / 0.9846 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2575, allocations: 0 / 0.9846 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2575, allocations: 3.953 kB / 0.9846 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.259, allocations: 432 kB / 0.985 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.2591, allocations: 96.84 kB / 0.9851 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.2591, allocations: 4 kB / 0.9851 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.2595, allocations: 43.95 kB / 0.9852 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.2596, allocations: 11.98 kB / 0.9852 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.2596, allocations: 7.938 kB / 0.9852 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.053e-05/0.2597, allocations: 107.3 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2598, allocations: 0 / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004113/0.2602, allocations: 44 kB / 0.9853 GB, free: 20.67 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002863/0.2605, allocations: 119.2 kB / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.262, allocations: 307.7 kB / 0.9858 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.262, allocations: 0 / 0.9858 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007021/0.2627, allocations: 159.9 kB / 0.9859 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.2631, allocations: 20.55 kB / 0.9859 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.2639, allocations: 373.8 kB / 0.9863 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.2641, allocations: 0.7201 MB / 0.987 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.2643, allocations: 15.98 kB / 0.987 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.2644, allocations: 11.44 kB / 0.987 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of SimCode: time 3.126e-06/0.2644, allocations: 0 / 0.987 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.005765/0.2702, allocations: 1.52 MB / 0.9885 GB, free: 17.39 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)