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.001039/0.001039, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.0009574/0.0009574, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.612/1.612, allocations: 251.9 MB / 0.51 GB, free: 4.859 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.0005354/0.0005356, allocations: 16 kB / 0.6242 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6702/0.6707, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001905/0.6727, allocations: 1.246 MB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006656/0.6734, allocations: 324 kB / 0.7295 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.6735, allocations: 0 / 0.7295 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.6736, allocations: 7.922 kB / 0.7295 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.6736, allocations: 31.89 kB / 0.7296 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.6739, allocations: 55.88 kB / 0.7296 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.6741, allocations: 71.84 kB / 0.7297 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.6743, allocations: 41.36 kB / 0.7297 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.717e-05/0.6744, allocations: 35.84 kB / 0.7298 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.6745, allocations: 47.83 kB / 0.7298 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.6745, allocations: 4 kB / 0.7298 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.6746, allocations: 47.91 kB / 0.7299 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/0.6746, allocations: 31.89 kB / 0.7299 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.6747, allocations: 37.64 kB / 0.7299 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.6749, allocations: 129.7 kB / 0.73 GB, free: 9.324 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6749, allocations: 4 kB / 0.73 GB, free: 9.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6749, allocations: 0 / 0.73 GB, free: 9.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.6749, allocations: 0 / 0.73 GB, free: 9.32 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.0008638/0.6758, allocations: 486.8 kB / 0.7305 GB, free: 8.797 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.6758, allocations: 11.97 kB / 0.7305 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.6759, allocations: 15.81 kB / 0.7305 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.6762, allocations: 210.6 kB / 0.7307 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.6762, allocations: 11.98 kB / 0.7307 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.6762, allocations: 8 kB / 0.7308 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/0.6768, allocations: 219.3 kB / 0.731 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.6768, allocations: 0 / 0.731 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.6768, allocations: 0 / 0.731 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/0.6769, allocations: 12 kB / 0.731 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/0.6777, allocations: 259.8 kB / 0.7312 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.6788, allocations: 484.4 kB / 0.7317 GB, free: 7.496 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.6793, allocations: 178.3 kB / 0.7319 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.6793, allocations: 3.938 kB / 0.7319 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.6793, allocations: 30.56 kB / 0.7319 GB, free: 7.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.6794, allocations: 0 / 0.7319 GB, free: 7.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.001431/0.6808, allocations: 0.6205 MB / 0.7325 GB, free: 6.605 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.6808, allocations: 55.41 kB / 0.7325 GB, free: 6.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.681, allocations: 145.7 kB / 0.7327 GB, free: 6.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.681, allocations: 29.64 kB / 0.7327 GB, free: 6.355 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.6811, allocations: 112.4 kB / 0.7328 GB, free: 6.238 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.6812, allocations: 51.27 kB / 0.7329 GB, free: 6.188 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.6812, allocations: 8.062 kB / 0.7329 GB, free: 6.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6813, allocations: 322.8 kB / 0.7332 GB, free: 5.855 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.6817, allocations: 135.9 kB / 0.7333 GB, free: 5.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.6821, allocations: 139.9 kB / 0.7335 GB, free: 5.586 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.6825, allocations: 147.8 kB / 0.7336 GB, free: 5.441 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6826, allocations: 0 / 0.7336 GB, free: 5.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008572/0.6834, allocations: 325.4 kB / 0.7339 GB, free: 5.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.6835, allocations: 4 kB / 0.7339 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6835, allocations: 0 / 0.7339 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.6835, allocations: 7.953 kB / 0.7339 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.6838, allocations: 55.94 kB / 0.734 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.6838, allocations: 3.938 kB / 0.734 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.684, allocations: 55.81 kB / 0.734 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.684, allocations: 7.922 kB / 0.734 GB, free: 4.984 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.6842, allocations: 125.8 kB / 0.7342 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.6842, allocations: 15.8 kB / 0.7342 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.6842, allocations: 8.844 kB / 0.7342 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.6843, allocations: 15.95 kB / 0.7342 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6843, allocations: 3.984 kB / 0.7342 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6843, allocations: 0 / 0.7342 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.6846, allocations: 225.6 kB / 0.7344 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6846, allocations: 3.984 kB / 0.7344 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.6848, allocations: 47.95 kB / 0.7345 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6848, allocations: 0 / 0.7345 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.6849, allocations: 4 kB / 0.7345 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6849, allocations: 240 / 0.7345 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6849, allocations: 3.953 kB / 0.7345 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009125/0.6858, allocations: 442.4 kB / 0.7349 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.6859, allocations: 85.02 kB / 0.735 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.6859, allocations: 0 / 0.735 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.6861, allocations: 43.95 kB / 0.735 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.6862, allocations: 11.98 kB / 0.735 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.6862, allocations: 7.953 kB / 0.735 GB, free: 3.871 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.199e-05/0.6863, allocations: 111.2 kB / 0.7351 GB, free: 3.762 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.41e-07/0.6863, allocations: 0 / 0.7351 GB, free: 3.762 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003021/0.6866, allocations: 47.84 kB / 0.7352 GB, free: 3.715 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000246/0.6868, allocations: 123.2 kB / 0.7353 GB, free: 3.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009151/0.6878, allocations: 315.8 kB / 0.7356 GB, free: 3.277 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.6878, allocations: 0 / 0.7356 GB, free: 3.277 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004265/0.6882, allocations: 155.9 kB / 0.7357 GB, free: 3.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.6885, allocations: 22.73 kB / 0.7358 GB, free: 3.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.6891, allocations: 362 kB / 0.7361 GB, free: 2.727 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.6894, allocations: 0.7272 MB / 0.7368 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.156e-05/0.6895, allocations: 15.97 kB / 0.7368 GB, free: 1.957 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.6896, allocations: 15.44 kB / 0.7369 GB, free: 1.941 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6896, allocations: 0 / 0.7369 GB, free: 1.941 MB / 0.545 GB Notification: Performance of Templates: time 0.004474/0.694, allocations: 1.503 MB / 0.7383 GB, free: 460 kB / 0.545 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: