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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 98.27 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.005672/0.005672, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.691/1.691, allocations: 252 MB / 0.5105 GB, free: 4.656 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005913/0.0005913, allocations: 16 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.561, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002039/0.5631, allocations: 1.285 MB / 0.73 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008875/0.564, allocations: 339.9 kB / 0.7303 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.5642, allocations: 0 / 0.7303 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.5643, allocations: 11.86 kB / 0.7303 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.148e-05/0.5644, allocations: 19.86 kB / 0.7304 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.5648, allocations: 67.86 kB / 0.7304 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.565, allocations: 115.6 kB / 0.7305 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.5652, allocations: 49.38 kB / 0.7306 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.5653, allocations: 35.84 kB / 0.7306 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.967e-05/0.5654, allocations: 47.77 kB / 0.7307 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.5655, allocations: 4 kB / 0.7307 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.5656, allocations: 59.89 kB / 0.7307 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.5657, allocations: 31.91 kB / 0.7307 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.897e-05/0.5658, allocations: 81.3 kB / 0.7308 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.566, allocations: 169.4 kB / 0.731 GB, free: 8.949 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.566, allocations: 4 kB / 0.731 GB, free: 8.945 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.494e-06/0.5661, allocations: 0 / 0.731 GB, free: 8.945 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.5661, allocations: 4 kB / 0.731 GB, free: 8.941 MB / 0.545 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.0008609/0.5669, allocations: 486.9 kB / 0.7315 GB, free: 8.414 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.567, allocations: 12.03 kB / 0.7315 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.567, allocations: 16.75 kB / 0.7315 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.5672, allocations: 207.8 kB / 0.7317 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5673, allocations: 8.359 kB / 0.7317 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.5673, allocations: 12.38 kB / 0.7317 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.5678, allocations: 206.1 kB / 0.7319 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.5679, allocations: 192 / 0.7319 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.5679, allocations: 11.88 kB / 0.7319 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.5679, allocations: 11.98 kB / 0.7319 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007936/0.5687, allocations: 267.6 kB / 0.7322 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.5697, allocations: 484.4 kB / 0.7326 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.5701, allocations: 166.4 kB / 0.7328 GB, free: 6.938 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.5705, allocations: 158.6 kB / 0.7329 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.5706, allocations: 4 kB / 0.733 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.5706, allocations: 30.56 kB / 0.733 GB, free: 6.738 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.5706, allocations: 0 / 0.733 GB, free: 6.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.001379/0.572, allocations: 481.1 kB / 0.7334 GB, free: 6.262 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.5721, allocations: 55.41 kB / 0.7335 GB, free: 6.195 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.5722, allocations: 144.6 kB / 0.7336 GB, free: 6.047 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.5723, allocations: 29.7 kB / 0.7337 GB, free: 6.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.5724, allocations: 108.4 kB / 0.7338 GB, free: 5.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.5724, allocations: 51.2 kB / 0.7338 GB, free: 5.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.5725, allocations: 25.77 kB / 0.7338 GB, free: 5.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5726, allocations: 322.8 kB / 0.7341 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.5731, allocations: 139.9 kB / 0.7343 GB, free: 5.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.5735, allocations: 143.8 kB / 0.7344 GB, free: 5.215 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00079/0.5743, allocations: 295.7 kB / 0.7347 GB, free: 4.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5743, allocations: 4 kB / 0.7347 GB, free: 4.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008831/0.5752, allocations: 329.3 kB / 0.735 GB, free: 4.594 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.5752, allocations: 4 kB / 0.735 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5752, allocations: 4 kB / 0.735 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.5752, allocations: 0 / 0.735 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.5755, allocations: 51.95 kB / 0.7351 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.5755, allocations: 0 / 0.7351 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.5757, allocations: 59.73 kB / 0.7351 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.5758, allocations: 0 / 0.7351 GB, free: 4.477 MB / 0.545 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 0.0001308/0.5759, allocations: 129.8 kB / 0.7353 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.576, allocations: 11.81 kB / 0.7353 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.576, allocations: 12.84 kB / 0.7353 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/0.5761, allocations: 7.984 kB / 0.7353 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5761, allocations: 0 / 0.7353 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.5761, allocations: 15.92 kB / 0.7353 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.5764, allocations: 225.6 kB / 0.7355 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5764, allocations: 3.938 kB / 0.7355 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.5767, allocations: 43.95 kB / 0.7356 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.5767, allocations: 4 kB / 0.7356 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.5767, allocations: 7.938 kB / 0.7356 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5767, allocations: 0 / 0.7356 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5767, allocations: 0 / 0.7356 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.5776, allocations: 435 kB / 0.736 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.5777, allocations: 89.02 kB / 0.7361 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.5777, allocations: 4 kB / 0.7361 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.5779, allocations: 39.95 kB / 0.7361 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.578, allocations: 15.92 kB / 0.7361 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.578, allocations: 7.984 kB / 0.7361 GB, free: 3.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.012e-05/0.5781, allocations: 110.3 kB / 0.7362 GB, free: 3.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5781, allocations: 0 / 0.7362 GB, free: 3.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003041/0.5784, allocations: 51.83 kB / 0.7363 GB, free: 3.195 MB / 0.545 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.0002365/0.5787, allocations: 119.2 kB / 0.7364 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009149/0.5796, allocations: 310.7 kB / 0.7367 GB, free: 2.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5796, allocations: 0 / 0.7367 GB, free: 2.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000434/0.58, allocations: 155.9 kB / 0.7368 GB, free: 2.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.5805, allocations: 23.92 kB / 0.7369 GB, free: 2.594 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.5812, allocations: 378 kB / 0.7372 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.5816, allocations: 0.7278 MB / 0.7379 GB, free: 1.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.209e-05/0.5817, allocations: 11.98 kB / 0.738 GB, free: 1.434 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.5817, allocations: 11.44 kB / 0.738 GB, free: 1.422 MB / 0.545 GB Notification: Performance of SimCode: time 2.124e-06/0.5817, allocations: 0 / 0.738 GB, free: 1.422 MB / 0.545 GB Notification: Performance of Templates: time 0.005177/0.5869, allocations: 1.557 MB / 0.7395 GB, free: 15.88 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: