Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009643/0.0009643, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 169.1 kB / 25.17 MB, free: 8.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.934/0.934, allocations: 177.2 MB / 205.6 MB, free: 4.012 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.897/1.897, allocations: 389.6 MB / 0.6364 GB, free: 13.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.7756 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.859e-05, allocations: 2.312 kB / 0.7757 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001323/0.001342, allocations: 0.8738 MB / 0.7765 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.002404, allocations: 1.061 MB / 0.7775 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.002456, allocations: 4 kB / 0.7775 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.002576, allocations: 15.8 kB / 0.7776 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.00262, allocations: 23.75 kB / 0.7776 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.002953, allocations: 83.81 kB / 0.7777 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.003068, allocations: 131.6 kB / 0.7778 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003177, allocations: 37.88 kB / 0.7778 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.003253, allocations: 63.88 kB / 0.7779 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.003305, allocations: 47.88 kB / 0.7779 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.003326, allocations: 16 kB / 0.7779 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.003726, allocations: 103.8 kB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.003769, allocations: 39.84 kB / 0.7781 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.003805, allocations: 39.84 kB / 0.7781 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.003983, allocations: 179.3 kB / 0.7783 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003984, allocations: 0 / 0.7783 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003985, allocations: 0 / 0.7783 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.003988, allocations: 0 / 0.7783 GB, free: 11.75 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0003791/0.004367, allocations: 364.1 kB / 0.7786 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.004395, allocations: 16.03 kB / 0.7787 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.004427, allocations: 8.938 kB / 0.7787 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.004546, allocations: 145.5 kB / 0.7788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.004555, allocations: 4.375 kB / 0.7788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.004567, allocations: 8.375 kB / 0.7788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.004748, allocations: 121.7 kB / 0.7789 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.004753, allocations: 4.125 kB / 0.7789 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.004762, allocations: 4.375 kB / 0.7789 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.004768, allocations: 4.375 kB / 0.7789 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.585e-05/0.004814, allocations: 39.78 kB / 0.779 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.005144, allocations: 285.6 kB / 0.7793 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.006e-05/0.005204, allocations: 86.42 kB / 0.7793 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.005236, allocations: 32.78 kB / 0.7794 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.00527, allocations: 4 kB / 0.7794 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.005289, allocations: 38.62 kB / 0.7794 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 9.71e-07/0.00529, allocations: 4 kB / 0.7794 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0001712/0.005461, allocations: 129.8 kB / 0.7795 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.005489, allocations: 55.41 kB / 0.7796 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/0.005564, allocations: 158.4 kB / 0.7797 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.005575, allocations: 25.7 kB / 0.7798 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.005614, allocations: 100.6 kB / 0.7799 GB, free: 10 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.00566, allocations: 71.31 kB / 0.7799 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.005698, allocations: 33.67 kB / 0.78 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.005775, allocations: 330.8 kB / 0.7803 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/0.005803, allocations: 18.83 kB / 0.7803 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.00583, allocations: 20 kB / 0.7803 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.1e-05/0.005901, allocations: 79.22 kB / 0.7804 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.005902, allocations: 4 kB / 0.7804 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 9.472e-05/0.005997, allocations: 101.5 kB / 0.7805 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.006008, allocations: 8 kB / 0.7805 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.00602, allocations: 0 / 0.7805 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.303e-06/0.006028, allocations: 0 / 0.7805 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.006106, allocations: 19.98 kB / 0.7805 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.006109, allocations: 3.984 kB / 0.7805 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.006155, allocations: 27.88 kB / 0.7805 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.006173, allocations: 4 kB / 0.7805 GB, free: 9.27 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.157e-05/0.006245, allocations: 124.6 kB / 0.7807 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.006262, allocations: 7.984 kB / 0.7807 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.006409, allocations: 130.8 kB / 0.7808 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.006415, allocations: 7.984 kB / 0.7808 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.006416, allocations: 0 / 0.7808 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006419, allocations: 0 / 0.7808 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.006538, allocations: 121.7 kB / 0.7809 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.006541, allocations: 0 / 0.7809 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.006595, allocations: 31.92 kB / 0.781 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006596, allocations: 0 / 0.781 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.006602, allocations: 0 / 0.781 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006602, allocations: 0 / 0.781 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006603, allocations: 3.938 kB / 0.781 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.006734, allocations: 262 kB / 0.7812 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.006748, allocations: 19.78 kB / 0.7812 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.006759, allocations: 0 / 0.7812 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.006813, allocations: 15.98 kB / 0.7812 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.006852, allocations: 15.97 kB / 0.7813 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.00686, allocations: 8 kB / 0.7813 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.3e-05/0.006883, allocations: 41.48 kB / 0.7813 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.006883, allocations: 0 / 0.7813 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001497/0.007033, allocations: 35.94 kB / 0.7813 GB, free: 8.406 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001173/0.00715, allocations: 112.3 kB / 0.7814 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.007285, allocations: 132.2 kB / 0.7816 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.007289, allocations: 0 / 0.7816 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.568e-05/0.007355, allocations: 112.2 kB / 0.7817 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.007507, allocations: 28.69 kB / 0.7817 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.007851, allocations: 329 kB / 0.782 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.45e-05/0.007925, allocations: 122.9 kB / 0.7821 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.008006, allocations: 75.3 kB / 0.7822 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.008006, allocations: 0 / 0.7822 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of Templates: time 0.002301/0.01031, allocations: 2.099 MB / 0.7843 GB, free: 5.324 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.563317570835352]