Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.496/1.496, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 176.3 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00092/0.0009199, allocations: 91 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 15 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2583, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001709/0.2601, allocations: 1.285 MB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006773/0.2608, allocations: 365.4 kB / 0.8984 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.2609, allocations: 0 / 0.8984 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.261, allocations: 11.86 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.261, allocations: 11.88 kB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.2614, allocations: 71.84 kB / 0.8985 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.2615, allocations: 115.6 kB / 0.8986 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.2617, allocations: 53.61 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.2617, allocations: 35.84 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.2618, allocations: 55.73 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.2618, allocations: 4 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-05/0.262, allocations: 55.91 kB / 0.8988 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.262, allocations: 23.91 kB / 0.8988 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.2621, allocations: 51.61 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.2622, allocations: 127.7 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2622, allocations: 0 / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2622, allocations: 0 / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2622, allocations: 4 kB / 0.899 GB, free: 65.92 MB / 0.6042 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.0007269/0.263, allocations: 488.3 kB / 0.8994 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.263, allocations: 12.03 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.2631, allocations: 16.75 kB / 0.8994 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.2632, allocations: 211.9 kB / 0.8996 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.2633, allocations: 4.375 kB / 0.8997 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.2633, allocations: 8.375 kB / 0.8997 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.2638, allocations: 210.1 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.2638, allocations: 192 / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.2638, allocations: 3.938 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.2639, allocations: 19.98 kB / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006561/0.2645, allocations: 255.7 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.2654, allocations: 484.4 kB / 0.9006 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.2658, allocations: 174.4 kB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.2661, allocations: 157.8 kB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.2661, allocations: 4 kB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2662, allocations: 30.56 kB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.2662, allocations: 0 / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001144/0.2673, allocations: 478.8 kB / 0.9014 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.2674, allocations: 55.34 kB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.2675, allocations: 157.2 kB / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.2675, allocations: 29.7 kB / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.2675, allocations: 112.3 kB / 0.9017 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.2676, allocations: 47.33 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.2676, allocations: 17.72 kB / 0.9018 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.2677, allocations: 322.8 kB / 0.9021 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.268, allocations: 139.9 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.2684, allocations: 139.8 kB / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.269, allocations: 307.5 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.269, allocations: 0 / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007382/0.2698, allocations: 329.4 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2698, allocations: 11.94 kB / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2698, allocations: 0 / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2698, allocations: 0 / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.2701, allocations: 47.95 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2701, allocations: 4 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.2703, allocations: 51.73 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.2703, allocations: 4 kB / 0.9031 GB, free: 61.45 MB / 0.6042 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 8.475e-05/0.2704, allocations: 133.8 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.2704, allocations: 15.81 kB / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.2705, allocations: 12.83 kB / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/0.2705, allocations: 12 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.2705, allocations: 0 / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2705, allocations: 3.938 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.2707, allocations: 217.6 kB / 0.9035 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2707, allocations: 0 / 0.9035 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.2709, allocations: 55.95 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2709, allocations: 0 / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.271, allocations: 3.984 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.271, allocations: 4 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.271, allocations: 7.875 kB / 0.9035 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/0.2717, allocations: 431 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.2718, allocations: 92.98 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.2718, allocations: 0 / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.272, allocations: 51.94 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.2721, allocations: 11.92 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.2721, allocations: 12 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.2722, allocations: 113.9 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2722, allocations: 0 / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002592/0.2724, allocations: 43.84 kB / 0.9043 GB, free: 60.16 MB / 0.6042 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.00021/0.2726, allocations: 119.2 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008336/0.2735, allocations: 307.7 kB / 0.9047 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2735, allocations: 0 / 0.9047 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.2739, allocations: 163.9 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.2742, allocations: 19.94 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.2747, allocations: 398.3 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.2749, allocations: 0.716 MB / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.275, allocations: 15.44 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.275, allocations: 0 / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.003029/0.278, allocations: 1.867 MB / 0.9078 GB, free: 56.54 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)