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.001556/0.001556, 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.002207/0.002207, allocations: 193.3 kB / 16.25 MB, free: 6.625 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.708/1.708, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.758/1.758, allocations: 251.6 MB / 0.5089 GB, free: 3.25 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.001411/0.001411, allocations: 68.47 kB / 0.6218 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6688/0.6702, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.004654/0.6749, allocations: 1.628 MB / 0.7256 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008988/0.6759, allocations: 339.8 kB / 0.7259 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.676, allocations: 4 kB / 0.7259 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.6763, allocations: 7.938 kB / 0.7259 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.281e-05/0.6764, allocations: 19.78 kB / 0.726 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.6769, allocations: 71.94 kB / 0.726 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.6771, allocations: 119.6 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.6774, allocations: 53.36 kB / 0.7262 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.6777, allocations: 47.84 kB / 0.7262 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.6778, allocations: 59.75 kB / 0.7263 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.6779, allocations: 16 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.6781, allocations: 63.89 kB / 0.7264 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.6783, allocations: 35.92 kB / 0.7264 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.6784, allocations: 55.59 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.6789, allocations: 193.4 kB / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.6789, allocations: 0 / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.168e-06/0.6789, allocations: 0 / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.6789, allocations: 0 / 0.7266 GB, free: 10.37 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.001107/0.68, allocations: 482.8 kB / 0.7271 GB, free: 9.844 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.6801, allocations: 11.97 kB / 0.7271 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.455e-05/0.6802, allocations: 16.75 kB / 0.7271 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.6805, allocations: 207.9 kB / 0.7273 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.6805, allocations: 8.312 kB / 0.7273 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.6805, allocations: 8.375 kB / 0.7273 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/0.6811, allocations: 182 kB / 0.7275 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.6812, allocations: 4.188 kB / 0.7275 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.6812, allocations: 11.88 kB / 0.7275 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.935e-05/0.6813, allocations: 11.98 kB / 0.7275 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007288/0.682, allocations: 207.7 kB / 0.7277 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.683, allocations: 456.4 kB / 0.7282 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.6834, allocations: 138.5 kB / 0.7283 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.6838, allocations: 128.8 kB / 0.7284 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.6838, allocations: 0 / 0.7284 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.6839, allocations: 38.56 kB / 0.7285 GB, free: 8.328 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.6839, allocations: 0 / 0.7285 GB, free: 8.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.001197/0.6851, allocations: 392.4 kB / 0.7288 GB, free: 7.941 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.6851, allocations: 55.41 kB / 0.7289 GB, free: 7.875 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.6853, allocations: 148.4 kB / 0.729 GB, free: 7.723 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.6853, allocations: 29.7 kB / 0.7291 GB, free: 7.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.6854, allocations: 108.4 kB / 0.7292 GB, free: 7.578 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.6855, allocations: 59.27 kB / 0.7292 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.742e-05/0.6856, allocations: 25.7 kB / 0.7292 GB, free: 7.488 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6857, allocations: 322.8 kB / 0.7296 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.6861, allocations: 107.9 kB / 0.7297 GB, free: 7.059 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.6864, allocations: 115.9 kB / 0.7298 GB, free: 6.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/0.6871, allocations: 244.6 kB / 0.73 GB, free: 6.703 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6871, allocations: 0 / 0.73 GB, free: 6.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000763/0.6879, allocations: 277.4 kB / 0.7303 GB, free: 6.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6879, allocations: 4 kB / 0.7303 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6879, allocations: 0 / 0.7303 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.688, allocations: 0 / 0.7303 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.6882, allocations: 39.95 kB / 0.7303 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6882, allocations: 0 / 0.7303 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.6884, allocations: 43.73 kB / 0.7303 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.6885, allocations: 4 kB / 0.7303 GB, free: 6.336 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.0001499/0.6886, allocations: 129.8 kB / 0.7305 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.6887, allocations: 11.81 kB / 0.7305 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.6887, allocations: 12.84 kB / 0.7305 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/0.6888, allocations: 23.86 kB / 0.7305 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6888, allocations: 0 / 0.7305 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6888, allocations: 3.938 kB / 0.7305 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.6891, allocations: 221.6 kB / 0.7307 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6891, allocations: 0 / 0.7307 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.6893, allocations: 43.94 kB / 0.7308 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6893, allocations: 0 / 0.7308 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.6894, allocations: 0 / 0.7308 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6894, allocations: 0 / 0.7308 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6894, allocations: 0 / 0.7308 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/0.6903, allocations: 389.2 kB / 0.7311 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/0.6904, allocations: 81.02 kB / 0.7312 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.6904, allocations: 11.98 kB / 0.7312 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.6906, allocations: 31.95 kB / 0.7313 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.6907, allocations: 15.92 kB / 0.7313 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.6907, allocations: 3.938 kB / 0.7313 GB, free: 5.285 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.197e-05/0.6908, allocations: 114.1 kB / 0.7314 GB, free: 5.176 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6908, allocations: 0 / 0.7314 GB, free: 5.176 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003411/0.6912, allocations: 43.84 kB / 0.7314 GB, free: 5.133 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.0003568/0.6915, allocations: 123.2 kB / 0.7316 GB, free: 5.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008289/0.6924, allocations: 259.8 kB / 0.7318 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.6924, allocations: 0 / 0.7318 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.6928, allocations: 135.8 kB / 0.7319 GB, free: 4.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.6932, allocations: 19.98 kB / 0.732 GB, free: 4.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008742/0.6941, allocations: 374.8 kB / 0.7323 GB, free: 4.207 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.6946, allocations: 0.7197 MB / 0.733 GB, free: 3.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.6947, allocations: 11.98 kB / 0.733 GB, free: 3.449 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.6948, allocations: 15.42 kB / 0.733 GB, free: 3.434 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/0.6948, allocations: 4 kB / 0.733 GB, free: 3.43 MB / 0.545 GB Notification: Performance of Templates: time 0.006974/0.7017, allocations: 1.635 MB / 0.7346 GB, free: 1.812 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (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)