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.424/1.424, allocations: 252 MB / 268 MB, free: 10.84 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.0009625/0.0009625, allocations: 183.5 kB / 327.6 MB, free: 2.082 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.78/1.78, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.0009241/0.0009242, allocations: 91.81 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 11.72 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2526, allocations: 106.3 MB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001761/0.2544, allocations: 1.277 MB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006828/0.2551, allocations: 347.9 kB / 0.903 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.2552, allocations: 0 / 0.903 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.2553, allocations: 11.92 kB / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.2554, allocations: 15.8 kB / 0.9031 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.2557, allocations: 71.86 kB / 0.9031 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.2558, allocations: 111.6 kB / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.256, allocations: 53.38 kB / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.51e-05/0.2561, allocations: 39.84 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.2561, allocations: 43.77 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.2562, allocations: 4 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.2563, allocations: 59.89 kB / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.2563, allocations: 27.91 kB / 0.9035 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.2564, allocations: 73.31 kB / 0.9035 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.2566, allocations: 131.7 kB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2566, allocations: 0 / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2566, allocations: 4 kB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2566, allocations: 4 kB / 0.9037 GB, free: 61.17 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.0007229/0.2573, allocations: 483.2 kB / 0.9041 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2574, allocations: 12.02 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.2574, allocations: 16.75 kB / 0.9042 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.2576, allocations: 217.2 kB / 0.9044 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2576, allocations: 4.375 kB / 0.9044 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.2576, allocations: 8.375 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.2581, allocations: 218.1 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2582, allocations: 4.125 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2582, allocations: 3.938 kB / 0.9046 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.2582, allocations: 8 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007311/0.2589, allocations: 266.2 kB / 0.9049 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008498/0.2598, allocations: 480.4 kB / 0.9053 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.2602, allocations: 170.4 kB / 0.9055 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.2606, allocations: 160.7 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2606, allocations: 0 / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2606, allocations: 30.56 kB / 0.9057 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.2606, allocations: 0 / 0.9057 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001209/0.2619, allocations: 478.9 kB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.2619, allocations: 59.34 kB / 0.9062 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.262, allocations: 158.2 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.262, allocations: 25.7 kB / 0.9063 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.2621, allocations: 112.4 kB / 0.9065 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.2621, allocations: 51.2 kB / 0.9065 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.2621, allocations: 0 / 0.9065 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.2622, allocations: 326.8 kB / 0.9068 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.2626, allocations: 135.9 kB / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.2629, allocations: 139.9 kB / 0.9071 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006789/0.2636, allocations: 301.8 kB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2636, allocations: 4 kB / 0.9074 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007392/0.2644, allocations: 325.4 kB / 0.9077 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2644, allocations: 12 kB / 0.9077 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.2644, allocations: 3.938 kB / 0.9077 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2645, allocations: 0 / 0.9077 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2647, allocations: 47.95 kB / 0.9077 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2647, allocations: 4 kB / 0.9077 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.2649, allocations: 55.73 kB / 0.9078 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.2649, allocations: 4 kB / 0.9078 GB, free: 56.72 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.395e-05/0.265, allocations: 125.8 kB / 0.9079 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.2651, allocations: 11.81 kB / 0.9079 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.2651, allocations: 16.84 kB / 0.908 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.2651, allocations: 11.98 kB / 0.908 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2651, allocations: 0 / 0.908 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2651, allocations: 3.938 kB / 0.908 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.2653, allocations: 225.5 kB / 0.9082 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2654, allocations: 0 / 0.9082 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.2656, allocations: 51.95 kB / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2656, allocations: 0 / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2656, allocations: 0 / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2656, allocations: 0 / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2656, allocations: 0 / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.2664, allocations: 449 kB / 0.9087 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.2665, allocations: 85.02 kB / 0.9087 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.2665, allocations: 4 kB / 0.9087 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.2667, allocations: 43.95 kB / 0.9088 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.2668, allocations: 15.92 kB / 0.9088 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.2668, allocations: 11.98 kB / 0.9088 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.365e-05/0.2669, allocations: 103.3 kB / 0.9089 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2669, allocations: 0 / 0.9089 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002769/0.2671, allocations: 47.84 kB / 0.909 GB, free: 55.45 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.0002184/0.2674, allocations: 123.2 kB / 0.9091 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007833/0.2682, allocations: 307.7 kB / 0.9094 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2682, allocations: 4 kB / 0.9094 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.2686, allocations: 155.9 kB / 0.9095 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.2689, allocations: 26.16 kB / 0.9095 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.2695, allocations: 403.7 kB / 0.9099 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.2697, allocations: 0.72 MB / 0.9106 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.2698, allocations: 11.44 kB / 0.9106 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of SimCode: time 1.082e-06/0.2698, allocations: 0 / 0.9106 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.003235/0.2731, allocations: 1.866 MB / 0.9125 GB, free: 51.8 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)