Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001119/0.001119, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009978/0.009978, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005024, allocations: 14 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4156, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001384/0.417, allocations: 0.5606 MB / 1.075 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.4185, allocations: 1.022 MB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.4185, allocations: 0 / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.4187, allocations: 7.922 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/0.4187, allocations: 23.8 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.4191, allocations: 63.92 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.4192, allocations: 119.6 kB / 1.076 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.4194, allocations: 49.08 kB / 1.076 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.4195, allocations: 39.84 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.4196, allocations: 43.77 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.4196, allocations: 4 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.4198, allocations: 63.89 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.4198, allocations: 35.86 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.42, allocations: 77.3 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.4203, allocations: 191.6 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.4203, allocations: 0 / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4203, allocations: 3.938 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.574e-05/0.4204, allocations: 0 / 1.076 GB, free: 5.223 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.0009541/0.4213, allocations: 0.4911 MB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.4214, allocations: 16.02 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.4215, allocations: 16.75 kB / 1.077 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.4217, allocations: 211.8 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4217, allocations: 4.375 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.4217, allocations: 8.375 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.4224, allocations: 234 kB / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4224, allocations: 4.188 kB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.4224, allocations: 3.938 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4224, allocations: 0 / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008174/0.4233, allocations: 280.9 kB / 1.078 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.4243, allocations: 0.5585 MB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.4248, allocations: 194.5 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/0.4253, allocations: 184.8 kB / 1.079 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.65e-05/0.4254, allocations: 11.94 kB / 1.079 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.4254, allocations: 30.56 kB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.4254, allocations: 0 / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001525/0.427, allocations: 0.5505 MB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.427, allocations: 55.34 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.4272, allocations: 153.1 kB / 1.079 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.4272, allocations: 25.7 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.4273, allocations: 112.4 kB / 1.079 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.4273, allocations: 67.08 kB / 1.08 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.4274, allocations: 29.7 kB / 1.08 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4275, allocations: 330.8 kB / 1.08 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.428, allocations: 167.8 kB / 1.08 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.4284, allocations: 159.8 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/0.4293, allocations: 353 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4293, allocations: 8 kB / 1.081 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009365/0.4303, allocations: 377.2 kB / 1.081 GB, free: 440 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.4303, allocations: 7.984 kB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.4303, allocations: 4 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4304, allocations: 0 / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.4306, allocations: 47.95 kB / 1.081 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.4306, allocations: 7.938 kB / 1.081 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.4309, allocations: 51.8 kB / 1.081 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.4309, allocations: 7.938 kB / 1.081 GB, free: 312 kB / 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.0001735/0.4311, allocations: 137.8 kB / 1.081 GB, free: 164 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.4311, allocations: 11.81 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.4323, allocations: 418.5 kB / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4323, allocations: 0 / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4323, allocations: 3.938 kB / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4323, allocations: 0 / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.4328, allocations: 277.4 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.4328, allocations: 4 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.433, allocations: 51.89 kB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.433, allocations: 4 kB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.433, allocations: 4 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.433, allocations: 11.94 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.433, allocations: 3.938 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/0.434, allocations: 491.9 kB / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.4341, allocations: 92.91 kB / 1.082 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.4341, allocations: 0 / 1.082 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.4343, allocations: 43.95 kB / 1.082 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.4344, allocations: 19.92 kB / 1.082 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.4344, allocations: 0 / 1.082 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.897e-05/0.4345, allocations: 117.3 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4345, allocations: 4 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003175/0.4348, allocations: 43.84 kB / 1.083 GB, free: 14.5 MB / 0.8419 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.0002688/0.4351, allocations: 128.5 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.4362, allocations: 435.1 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4363, allocations: 0 / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005271/0.4368, allocations: 267.2 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.4371, allocations: 12 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007539/0.4379, allocations: 410.6 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.4383, allocations: 0.7356 MB / 1.085 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.721e-05/0.4384, allocations: 11.98 kB / 1.085 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.4385, allocations: 11.44 kB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.4385, allocations: 0 / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.004927/0.4434, allocations: 1.687 MB / 1.086 GB, free: 10.76 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1)