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.007787/0.007787, allocations: 101.3 kB / 15.73 MB, free: 6.008 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.001411/0.001411, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.746/1.746, allocations: 205.1 MB / 222.5 MB, free: 4.473 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.704/1.704, allocations: 251.7 MB / 0.5094 GB, free: 3.035 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.001638/0.001638, allocations: 71.91 kB / 0.7258 GB, free: 8.945 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2949, allocations: 104.7 MB / 0.8281 GB, free: 136 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.004321/0.2993, allocations: 1.556 MB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3005, allocations: 335.8 kB / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.3007, allocations: 0 / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.3009, allocations: 15.8 kB / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.3011, allocations: 23.81 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.3017, allocations: 91.81 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.302, allocations: 119.6 kB / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.3022, allocations: 45.33 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3024, allocations: 55.83 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.3025, allocations: 59.73 kB / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.3025, allocations: 12 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.3028, allocations: 91.86 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.128e-05/0.3029, allocations: 35.91 kB / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.311e-05/0.303, allocations: 59.59 kB / 0.8305 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.3033, allocations: 191.3 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.3033, allocations: 8 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3033, allocations: 0 / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.3034, allocations: 0 / 0.8307 GB, free: 13.44 MB / 0.6544 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.00102/0.3044, allocations: 485.2 kB / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.3045, allocations: 11.97 kB / 0.8312 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.006e-05/0.3045, allocations: 16.75 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.3048, allocations: 203.9 kB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3048, allocations: 4.375 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.3049, allocations: 8.375 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.3054, allocations: 182.1 kB / 0.8316 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3055, allocations: 192 / 0.8316 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.3055, allocations: 11.94 kB / 0.8316 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/0.3056, allocations: 11.98 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006463/0.3062, allocations: 199.8 kB / 0.8318 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.3073, allocations: 460.3 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.3077, allocations: 138.4 kB / 0.8324 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.3081, allocations: 128.8 kB / 0.8325 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.3082, allocations: 0 / 0.8325 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.3082, allocations: 38.5 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.3082, allocations: 0 / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.00128/0.3095, allocations: 400 kB / 0.8329 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.3096, allocations: 55.41 kB / 0.833 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.3098, allocations: 153.2 kB / 0.8331 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3098, allocations: 25.7 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3099, allocations: 108.3 kB / 0.8332 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.31, allocations: 47.27 kB / 0.8333 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.3101, allocations: 29.69 kB / 0.8333 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3103, allocations: 330.8 kB / 0.8336 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.3106, allocations: 115.9 kB / 0.8337 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.311, allocations: 107.9 kB / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00069/0.3117, allocations: 247.1 kB / 0.8341 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3117, allocations: 0 / 0.8341 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00073/0.3124, allocations: 277.4 kB / 0.8343 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.3125, allocations: 8 kB / 0.8344 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3125, allocations: 3.984 kB / 0.8344 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.3125, allocations: 0 / 0.8344 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.3128, allocations: 43.89 kB / 0.8344 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.3128, allocations: 4 kB / 0.8344 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.313, allocations: 39.73 kB / 0.8344 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.313, allocations: 0 / 0.8344 GB, free: 9.402 MB / 0.6544 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.0001437/0.3131, allocations: 130.5 kB / 0.8346 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.3132, allocations: 11.91 kB / 0.8346 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.3132, allocations: 12.84 kB / 0.8346 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.3133, allocations: 7.984 kB / 0.8346 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3133, allocations: 0 / 0.8346 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.3133, allocations: 7.938 kB / 0.8346 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.3136, allocations: 233.4 kB / 0.8348 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3136, allocations: 0 / 0.8348 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.3138, allocations: 31.95 kB / 0.8349 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3138, allocations: 4 kB / 0.8349 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3138, allocations: 8 kB / 0.8349 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3139, allocations: 0 / 0.8349 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3139, allocations: 0 / 0.8349 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.3147, allocations: 383 kB / 0.8352 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.3148, allocations: 88.95 kB / 0.8353 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.3148, allocations: 0 / 0.8353 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.315, allocations: 27.95 kB / 0.8353 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.3151, allocations: 19.92 kB / 0.8354 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3151, allocations: 8 kB / 0.8354 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.307e-05/0.3152, allocations: 111.2 kB / 0.8355 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3152, allocations: 0 / 0.8355 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002921/0.3155, allocations: 39.91 kB / 0.8355 GB, free: 8.207 MB / 0.6544 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.000276/0.3158, allocations: 123.2 kB / 0.8356 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007636/0.3165, allocations: 255.7 kB / 0.8359 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3165, allocations: 0 / 0.8359 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.3169, allocations: 135.9 kB / 0.836 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.3174, allocations: 20.61 kB / 0.836 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.3181, allocations: 319 kB / 0.8363 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3185, allocations: 0.7312 MB / 0.837 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.033e-05/0.3186, allocations: 12.2 kB / 0.8371 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.3187, allocations: 19.44 kB / 0.8371 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of SimCode: time 2.064e-06/0.3187, allocations: 0 / 0.8371 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of Templates: time 0.006226/0.3249, allocations: 1.92 MB / 0.839 GB, free: 4.648 MB / 0.6544 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)