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.009613/0.009613, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001769/0.001769, allocations: 191.6 kB / 16.67 MB, free: 5.973 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.701/1.701, allocations: 205.1 MB / 222.5 MB, free: 4.289 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.647/1.647, 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.001545/0.001546, allocations: 78.08 kB / 0.7258 GB, free: 8.918 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3175, allocations: 104.7 MB / 0.8281 GB, free: 108 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002959/0.3205, allocations: 1.56 MB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007705/0.3213, allocations: 327.9 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.3214, allocations: 0 / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.3216, allocations: 15.86 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.3216, allocations: 15.8 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.3221, allocations: 95.77 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3223, allocations: 119.7 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.3225, allocations: 53.31 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3226, allocations: 51.78 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.3227, allocations: 59.75 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.3227, allocations: 12 kB / 0.8304 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.3229, allocations: 87.91 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.323, allocations: 31.91 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.861e-05/0.3231, allocations: 67.59 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.3234, allocations: 187.3 kB / 0.8307 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3234, allocations: 0 / 0.8307 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3234, allocations: 4 kB / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.3234, allocations: 0 / 0.8307 GB, free: 13.42 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.0009785/0.3244, allocations: 482.8 kB / 0.8312 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3244, allocations: 8.031 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.3245, allocations: 16.75 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.3248, allocations: 211.9 kB / 0.8314 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3248, allocations: 4.312 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.3248, allocations: 8.375 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.3254, allocations: 182.1 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3254, allocations: 4.125 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3254, allocations: 7.938 kB / 0.8316 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-05/0.3255, allocations: 19.97 kB / 0.8316 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007004/0.3262, allocations: 199.8 kB / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/0.3271, allocations: 456.3 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.3276, allocations: 142.5 kB / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.328, allocations: 128.8 kB / 0.8325 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.328, allocations: 0 / 0.8325 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.328, allocations: 30.56 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.213e-06/0.328, allocations: 3.938 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.001272/0.3293, allocations: 397.2 kB / 0.8329 GB, free: 11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.3294, allocations: 55.39 kB / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3295, allocations: 153.5 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3295, allocations: 29.7 kB / 0.8331 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.3296, allocations: 108.3 kB / 0.8332 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.3297, allocations: 47.33 kB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.3297, allocations: 25.7 kB / 0.8333 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3299, allocations: 330.8 kB / 0.8336 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.3302, allocations: 111.9 kB / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.3306, allocations: 111.9 kB / 0.8338 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007157/0.3313, allocations: 243.5 kB / 0.8341 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3313, allocations: 8 kB / 0.8341 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000775/0.3321, allocations: 277.3 kB / 0.8343 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.3322, allocations: 8 kB / 0.8344 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3322, allocations: 0 / 0.8344 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3322, allocations: 0 / 0.8344 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.3324, allocations: 35.95 kB / 0.8344 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.3325, allocations: 0 / 0.8344 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.3326, allocations: 51.72 kB / 0.8344 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.3327, allocations: 240 / 0.8344 GB, free: 9.379 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.0001214/0.3328, allocations: 126.7 kB / 0.8346 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.3328, allocations: 7.906 kB / 0.8346 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.3329, allocations: 16.84 kB / 0.8346 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/0.3329, allocations: 11.98 kB / 0.8346 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3329, allocations: 0 / 0.8346 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.333, allocations: 7.938 kB / 0.8346 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.3333, allocations: 229.4 kB / 0.8348 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3333, allocations: 0 / 0.8348 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.3335, allocations: 31.95 kB / 0.8349 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3335, allocations: 3.938 kB / 0.8349 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3335, allocations: 4 kB / 0.8349 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3335, allocations: 4 kB / 0.8349 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3335, allocations: 0 / 0.8349 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/0.3344, allocations: 387 kB / 0.8352 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.3344, allocations: 89.02 kB / 0.8353 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.3345, allocations: 3.938 kB / 0.8353 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.3347, allocations: 27.95 kB / 0.8353 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.3347, allocations: 15.92 kB / 0.8354 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3348, allocations: 4 kB / 0.8354 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.936e-05/0.3349, allocations: 115.2 kB / 0.8355 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3349, allocations: 3.938 kB / 0.8355 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003174/0.3352, allocations: 43.91 kB / 0.8355 GB, free: 8.176 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.0003053/0.3355, allocations: 119.2 kB / 0.8356 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008409/0.3364, allocations: 259 kB / 0.8359 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3364, allocations: 0 / 0.8359 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.3368, allocations: 135.8 kB / 0.836 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.3372, allocations: 19.98 kB / 0.836 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.3379, allocations: 327 kB / 0.8363 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.3382, allocations: 0.7274 MB / 0.8371 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.376e-05/0.3383, allocations: 12.2 kB / 0.8371 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.3383, allocations: 19.42 kB / 0.8371 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.3384, allocations: 0 / 0.8371 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of Templates: time 0.005238/0.3436, allocations: 1.918 MB / 0.839 GB, free: 4.617 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)