Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.236/2.236, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 187.5 kB / 499.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.714/1.714, allocations: 222.9 MB / 0.7948 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 117.2 kB / 0.9329 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 52.11 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3055, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002122/0.3077, allocations: 0.8834 MB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3088, allocations: 1.014 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.3089, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.309, allocations: 11.92 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.309, allocations: 19.8 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.3093, allocations: 67.92 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.3095, allocations: 115.6 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.3096, allocations: 53.41 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.373e-05/0.3097, allocations: 55.83 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.3098, allocations: 43.83 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.3098, allocations: 11.94 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.3099, allocations: 59.95 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.3099, allocations: 35.84 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.31, allocations: 47.67 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.3102, allocations: 185.3 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3102, allocations: 3.984 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3102, allocations: 3.938 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.3102, allocations: 0 / 1.221 GB, free: 114.5 MB / 0.823 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.0007015/0.3109, allocations: 478.8 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.311, allocations: 15.92 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.311, allocations: 16.75 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3112, allocations: 209.2 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3112, allocations: 4.375 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.3112, allocations: 12.36 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.3117, allocations: 193.2 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.3117, allocations: 192 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3117, allocations: 3.938 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.3118, allocations: 12 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.3124, allocations: 203.8 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008432/0.3133, allocations: 452.4 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.3136, allocations: 146.4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.314, allocations: 124.8 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.314, allocations: 4 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.314, allocations: 38.55 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 2.324e-06/0.314, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.001109/0.3151, allocations: 395.9 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.3152, allocations: 51.41 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3153, allocations: 152.8 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.3153, allocations: 25.7 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.3154, allocations: 116.4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.3154, allocations: 43.42 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.3155, allocations: 25.66 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.3155, allocations: 326.8 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.3159, allocations: 107.9 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.3162, allocations: 119.8 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/0.3168, allocations: 248.6 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3168, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006779/0.3175, allocations: 275.4 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3175, allocations: 4 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3175, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.3176, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.3178, allocations: 35.95 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3178, allocations: 4 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.318, allocations: 39.83 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.318, allocations: 4 kB / 1.224 GB, free: 110.5 MB / 0.823 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 7.774e-05/0.3181, allocations: 126.4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.3181, allocations: 11.81 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.3181, allocations: 24.83 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.3182, allocations: 8 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3182, allocations: 4 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3182, allocations: 3.938 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.3184, allocations: 233.4 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3184, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.3186, allocations: 35.95 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3186, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3186, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3186, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3186, allocations: 3.984 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.3199, allocations: 1.072 MB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.32, allocations: 92.86 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.32, allocations: 0 / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.3202, allocations: 39.94 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.3202, allocations: 11.97 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3203, allocations: 8 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.3203, allocations: 103.9 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3203, allocations: 0 / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003631/0.3207, allocations: 43.92 kB / 1.226 GB, free: 108.6 MB / 0.823 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.0002066/0.3209, allocations: 123.1 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007165/0.3216, allocations: 247.8 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3216, allocations: 0 / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.322, allocations: 139.9 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3224, allocations: 25.47 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.323, allocations: 0.5111 MB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.3231, allocations: 0.7278 MB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.461e-05/0.3232, allocations: 20.17 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.3233, allocations: 11.44 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of SimCode: time 3.8e-07/0.3233, allocations: 0 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of Templates: time 0.003622/0.3269, allocations: 1.614 MB / 1.229 GB, free: 105.1 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)