Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 288.4 MB / 304.3 MB, free: 8.031 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.001025/0.001025, allocations: 177.7 kB / 372.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 0.6316 GB, free: 9.824 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.0007941/0.0007943, allocations: 93.47 kB / 0.745 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006463/0.0006464, allocations: 17.72 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.252, allocations: 115.3 MB / 0.9808 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.0009375/0.253, allocations: 0.5145 MB / 0.9813 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2542, allocations: 1.001 MB / 0.9822 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.2543, allocations: 4 kB / 0.9822 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.2544, allocations: 7.922 kB / 0.9823 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.822e-05/0.2545, allocations: 7.875 kB / 0.9823 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.2548, allocations: 75.84 kB / 0.9823 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2549, allocations: 115.6 kB / 0.9824 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.2551, allocations: 41.39 kB / 0.9825 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.2551, allocations: 35.91 kB / 0.9825 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.2552, allocations: 43.77 kB / 0.9826 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.2552, allocations: 4 kB / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-05/0.2553, allocations: 59.89 kB / 0.9826 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.2554, allocations: 23.91 kB / 0.9826 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.2554, allocations: 73.36 kB / 0.9827 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.2556, allocations: 135.9 kB / 0.9828 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2556, allocations: 3.938 kB / 0.9828 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2556, allocations: 0 / 0.9828 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2556, allocations: 0 / 0.9828 GB, free: 25.17 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.0006603/0.2563, allocations: 478.9 kB / 0.9833 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2563, allocations: 8.031 kB / 0.9833 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.2564, allocations: 16.75 kB / 0.9833 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.2565, allocations: 206.9 kB / 0.9835 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2566, allocations: 12.36 kB / 0.9835 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.2566, allocations: 8.375 kB / 0.9835 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.2571, allocations: 210 kB / 0.9837 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2571, allocations: 192 / 0.9837 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.2571, allocations: 11.92 kB / 0.9838 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.2572, allocations: 12 kB / 0.9838 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.2578, allocations: 259.8 kB / 0.984 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/0.2587, allocations: 484.3 kB / 0.9845 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.259, allocations: 170.4 kB / 0.9846 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.2594, allocations: 152.8 kB / 0.9848 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.2594, allocations: 0 / 0.9848 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.2595, allocations: 42.5 kB / 0.9848 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.173e-06/0.2595, allocations: 0 / 0.9848 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001153/0.2606, allocations: 480.2 kB / 0.9853 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.2607, allocations: 55.41 kB / 0.9853 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.2608, allocations: 146.3 kB / 0.9855 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.2608, allocations: 25.7 kB / 0.9855 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.2608, allocations: 108.3 kB / 0.9856 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.2609, allocations: 47.3 kB / 0.9856 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.2609, allocations: 4.062 kB / 0.9857 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.261, allocations: 330.8 kB / 0.986 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.2613, allocations: 135.9 kB / 0.9861 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.2617, allocations: 143.9 kB / 0.9862 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/0.2625, allocations: 292.6 kB / 0.9865 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2626, allocations: 0 / 0.9865 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000813/0.2634, allocations: 335.1 kB / 0.9868 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.2634, allocations: 4 kB / 0.9868 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2634, allocations: 0 / 0.9868 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2635, allocations: 3.984 kB / 0.9868 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.2637, allocations: 51.95 kB / 0.9869 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2637, allocations: 240 / 0.9869 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.2639, allocations: 47.81 kB / 0.9869 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.2639, allocations: 11.98 kB / 0.9869 GB, free: 20.75 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 9.944e-05/0.264, allocations: 121.8 kB / 0.9871 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.2641, allocations: 11.89 kB / 0.9871 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.2641, allocations: 20.78 kB / 0.9871 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2641, allocations: 0 / 0.9871 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2641, allocations: 0 / 0.9871 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.2642, allocations: 96.8 kB / 0.9872 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.2642, allocations: 0 / 0.9872 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.2644, allocations: 43.95 kB / 0.9872 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.2645, allocations: 19.97 kB / 0.9872 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009046/0.2654, allocations: 452.7 kB / 0.9877 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000788/0.2662, allocations: 0.5029 MB / 0.9882 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003852/0.2666, allocations: 163.9 kB / 0.9883 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.2667, allocations: 118.1 kB / 0.9884 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of Backend: time 1.042e-06/0.2667, allocations: 0 / 0.9884 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008649/0.2675, allocations: 251 kB / 0.9887 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007524/0.2683, allocations: 0.7332 MB / 0.9894 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.004362/0.2727, allocations: 1.927 MB / 0.9913 GB, free: 16.23 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)