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.001505/0.001505, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00196/0.00196, allocations: 195 kB / 16.14 MB, free: 6.703 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.795/1.795, allocations: 205.1 MB / 222 MB, free: 4.773 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.584/1.584, allocations: 251.7 MB / 0.5088 GB, free: 3.34 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.001614/0.001615, allocations: 68.47 kB / 0.6216 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6053/0.6069, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.003699/0.6107, allocations: 1.628 MB / 0.7254 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.6117, allocations: 347.8 kB / 0.7258 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/0.6118, allocations: 0 / 0.7258 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.6121, allocations: 11.94 kB / 0.7258 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.988e-05/0.6121, allocations: 19.84 kB / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.6126, allocations: 67.88 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.6128, allocations: 107.7 kB / 0.726 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.613, allocations: 57.31 kB / 0.726 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.815e-05/0.6131, allocations: 43.83 kB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.833e-05/0.6132, allocations: 59.75 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.6132, allocations: 8 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.6134, allocations: 63.89 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.6134, allocations: 31.86 kB / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.6135, allocations: 51.66 kB / 0.7263 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.6138, allocations: 189.3 kB / 0.7264 GB, free: 10.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6138, allocations: 0 / 0.7264 GB, free: 10.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6138, allocations: 0 / 0.7264 GB, free: 10.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.6138, allocations: 0 / 0.7264 GB, free: 10.47 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.0009034/0.6147, allocations: 486.8 kB / 0.7269 GB, free: 9.941 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.6148, allocations: 8.031 kB / 0.7269 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.6148, allocations: 16.75 kB / 0.7269 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.615, allocations: 211.8 kB / 0.7271 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.6151, allocations: 4.375 kB / 0.7271 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.6151, allocations: 12.36 kB / 0.7271 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.6156, allocations: 182.1 kB / 0.7273 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.6157, allocations: 192 / 0.7273 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.6157, allocations: 3.938 kB / 0.7273 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.6157, allocations: 15.98 kB / 0.7273 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/0.6165, allocations: 203.7 kB / 0.7275 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.6176, allocations: 452.4 kB / 0.728 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.618, allocations: 146.4 kB / 0.7281 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.6184, allocations: 124.8 kB / 0.7282 GB, free: 8.484 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.6184, allocations: 3.984 kB / 0.7282 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.6185, allocations: 34.56 kB / 0.7283 GB, free: 8.438 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.6185, allocations: 0 / 0.7283 GB, free: 8.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.001288/0.6198, allocations: 392.1 kB / 0.7286 GB, free: 8.051 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.6199, allocations: 59.34 kB / 0.7287 GB, free: 7.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.62, allocations: 152.6 kB / 0.7288 GB, free: 7.824 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.6201, allocations: 25.7 kB / 0.7289 GB, free: 7.793 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.6202, allocations: 108.4 kB / 0.729 GB, free: 7.684 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.6202, allocations: 51.2 kB / 0.729 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.6203, allocations: 33.69 kB / 0.729 GB, free: 7.594 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.6205, allocations: 326.8 kB / 0.7293 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.6209, allocations: 107.9 kB / 0.7295 GB, free: 7.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.6212, allocations: 115.9 kB / 0.7296 GB, free: 7.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.6219, allocations: 240.6 kB / 0.7298 GB, free: 6.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.622, allocations: 0 / 0.7298 GB, free: 6.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007692/0.6227, allocations: 272.5 kB / 0.7301 GB, free: 6.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.6228, allocations: 7.984 kB / 0.7301 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.6228, allocations: 3.938 kB / 0.7301 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6228, allocations: 0 / 0.7301 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.623, allocations: 35.95 kB / 0.7301 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6231, allocations: 3.938 kB / 0.7301 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.6232, allocations: 47.73 kB / 0.7301 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.6233, allocations: 4 kB / 0.7302 GB, free: 6.438 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.0001452/0.6234, allocations: 121.8 kB / 0.7303 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.6235, allocations: 15.75 kB / 0.7303 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.6235, allocations: 16.84 kB / 0.7303 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.6236, allocations: 11.98 kB / 0.7303 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.6236, allocations: 0 / 0.7303 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6236, allocations: 3.938 kB / 0.7303 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.6239, allocations: 225.6 kB / 0.7305 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6239, allocations: 4 kB / 0.7305 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.6241, allocations: 35.95 kB / 0.7306 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.6241, allocations: 3.984 kB / 0.7306 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.6242, allocations: 0 / 0.7306 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6242, allocations: 4 kB / 0.7306 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.6242, allocations: 0 / 0.7306 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008459/0.625, allocations: 387 kB / 0.7309 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.6251, allocations: 85.02 kB / 0.731 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.6251, allocations: 4 kB / 0.731 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.6253, allocations: 31.95 kB / 0.7311 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.6254, allocations: 15.92 kB / 0.7311 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.6254, allocations: 0 / 0.7311 GB, free: 5.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.975e-05/0.6255, allocations: 114.3 kB / 0.7312 GB, free: 5.289 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6255, allocations: 0 / 0.7312 GB, free: 5.289 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000309/0.6258, allocations: 47.83 kB / 0.7312 GB, free: 5.242 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.00036/0.6262, allocations: 123.2 kB / 0.7313 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007681/0.627, allocations: 251.7 kB / 0.7316 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.627, allocations: 4 kB / 0.7316 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.6274, allocations: 127.9 kB / 0.7317 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.6278, allocations: 19.98 kB / 0.7317 GB, free: 4.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.6285, allocations: 376.5 kB / 0.7321 GB, free: 4.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.6288, allocations: 0.72 MB / 0.7328 GB, free: 3.582 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.195e-05/0.6289, allocations: 15.97 kB / 0.7328 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.629, allocations: 11.44 kB / 0.7328 GB, free: 3.555 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.629, allocations: 0 / 0.7328 GB, free: 3.555 MB / 0.545 GB Notification: Performance of Templates: time 0.01025/0.6392, allocations: 1.571 MB / 0.7344 GB, free: 2.004 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)