Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001594, allocations: 193.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.27 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3393, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001988/0.3413, allocations: 0.8995 MB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3424, allocations: 1.018 MB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.3425, allocations: 4 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.3426, allocations: 7.938 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.571e-05/0.3427, allocations: 15.84 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.343, allocations: 75.88 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.3432, allocations: 123.6 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.3433, allocations: 53.08 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.3434, allocations: 55.84 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.915e-05/0.3435, allocations: 59.75 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.3435, allocations: 8 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3436, allocations: 63.89 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.3437, allocations: 43.84 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.139e-05/0.3437, allocations: 59.55 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.344, allocations: 203.6 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.344, allocations: 0 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.344, allocations: 0 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.344, allocations: 4 kB / 1.07 GB, free: 8.109 MB / 0.8262 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.0007807/0.3448, allocations: 498.8 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3448, allocations: 8.031 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.3449, allocations: 16.75 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.3451, allocations: 214.7 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3451, allocations: 8.375 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.3451, allocations: 4.375 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.3457, allocations: 206 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3457, allocations: 4.125 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.3457, allocations: 7.938 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3457, allocations: 4 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.3464, allocations: 219.8 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/0.3473, allocations: 0.5312 MB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.3478, allocations: 170.5 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.3482, allocations: 152.8 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.127e-05/0.3482, allocations: 7.984 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.3483, allocations: 38.56 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.332e-06/0.3483, allocations: 3.938 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001311/0.3496, allocations: 475.7 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3496, allocations: 63.28 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.3498, allocations: 146.2 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3498, allocations: 25.7 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.3499, allocations: 120.4 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.3499, allocations: 71.06 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.35, allocations: 33.7 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3501, allocations: 326.8 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.3505, allocations: 131.9 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.3509, allocations: 131.9 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007405/0.3516, allocations: 297 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.3517, allocations: 7.984 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008157/0.3525, allocations: 329.2 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3525, allocations: 4 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.3525, allocations: 4 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.3525, allocations: 0 / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.3528, allocations: 31.95 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3528, allocations: 7.938 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.353, allocations: 43.8 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.353, allocations: 4 kB / 1.074 GB, free: 3.621 MB / 0.8262 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 0.0001399/0.3531, allocations: 135.5 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.3532, allocations: 15.91 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008986/0.3541, allocations: 366.3 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3541, allocations: 3.984 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3541, allocations: 7.938 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3541, allocations: 0 / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.3544, allocations: 273.4 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.3544, allocations: 4 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.3546, allocations: 39.94 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3546, allocations: 4 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3546, allocations: 0 / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3546, allocations: 0 / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3546, allocations: 3.938 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008583/0.3555, allocations: 439.8 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.3556, allocations: 88.92 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.3556, allocations: 7.938 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.3558, allocations: 31.95 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.3559, allocations: 19.92 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3559, allocations: 4 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.647e-05/0.356, allocations: 109.5 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.356, allocations: 0 / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002813/0.3563, allocations: 51.84 kB / 1.076 GB, free: 1.949 MB / 0.8262 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.0002562/0.3565, allocations: 119.2 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009311/0.3575, allocations: 395 kB / 1.077 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3575, allocations: 0 / 1.077 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.358, allocations: 239.3 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.3583, allocations: 19.2 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/0.3589, allocations: 407.4 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3593, allocations: 0.7353 MB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.438e-05/0.3593, allocations: 11.98 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.3594, allocations: 15.42 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3594, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.004439/0.3638, allocations: 1.767 MB / 1.08 GB, free: 14.2 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1)