Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001033/0.001034, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009211/0.009211, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.72/1.72, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.843/1.843, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.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.0005779/0.000578, allocations: 15.53 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3029, allocations: 116.3 MB / 0.7879 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001113/0.304, allocations: 0.5488 MB / 0.7884 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.3054, allocations: 1.02 MB / 0.7894 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.3054, allocations: 0 / 0.7894 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.015e-05/0.3055, allocations: 3.938 kB / 0.7894 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.754e-05/0.3056, allocations: 15.88 kB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.3059, allocations: 75.84 kB / 0.7895 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.306, allocations: 115.6 kB / 0.7896 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3062, allocations: 41.39 kB / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.3062, allocations: 35.84 kB / 0.7897 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.156e-05/0.3063, allocations: 55.69 kB / 0.7898 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3064, allocations: 4 kB / 0.7898 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3065, allocations: 63.89 kB / 0.7898 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.3065, allocations: 27.91 kB / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.3066, allocations: 73.31 kB / 0.7899 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.3068, allocations: 183.6 kB / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3068, allocations: 0 / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3068, allocations: 0 / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3068, allocations: 0 / 0.7901 GB, free: 9.25 MB / 0.6075 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.0008105/0.3077, allocations: 479 kB / 0.7906 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3077, allocations: 12.03 kB / 0.7906 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.3078, allocations: 16.75 kB / 0.7906 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.308, allocations: 211.9 kB / 0.7908 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.308, allocations: 8.375 kB / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.308, allocations: 4.375 kB / 0.7908 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.3086, allocations: 214.8 kB / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3086, allocations: 192 / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3086, allocations: 3.938 kB / 0.791 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.415e-05/0.3087, allocations: 16 kB / 0.791 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000752/0.3094, allocations: 259.7 kB / 0.7913 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009211/0.3104, allocations: 488.3 kB / 0.7917 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.3108, allocations: 162.5 kB / 0.7919 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.3112, allocations: 160.8 kB / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3112, allocations: 0 / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3113, allocations: 38.55 kB / 0.7921 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 9.22e-07/0.3113, allocations: 0 / 0.7921 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001343/0.3126, allocations: 483.5 kB / 0.7925 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.3127, allocations: 51.41 kB / 0.7926 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3128, allocations: 148.6 kB / 0.7927 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3128, allocations: 29.7 kB / 0.7928 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.3129, allocations: 108.4 kB / 0.7929 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.3129, allocations: 47.36 kB / 0.7929 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.313, allocations: 17.72 kB / 0.7929 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3131, allocations: 322.8 kB / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.3135, allocations: 143.9 kB / 0.7934 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.3139, allocations: 135.9 kB / 0.7935 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.3147, allocations: 295.9 kB / 0.7938 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3147, allocations: 4 kB / 0.7938 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008356/0.3155, allocations: 337.2 kB / 0.7941 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3155, allocations: 8 kB / 0.7941 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3156, allocations: 0 / 0.7941 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3156, allocations: 0 / 0.7941 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.3158, allocations: 59.89 kB / 0.7942 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3158, allocations: 0 / 0.7942 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.3161, allocations: 51.8 kB / 0.7942 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.3161, allocations: 4 kB / 0.7942 GB, free: 4.797 MB / 0.6075 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.0001084/0.3162, allocations: 133.1 kB / 0.7944 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.3162, allocations: 11.84 kB / 0.7944 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.3163, allocations: 12.84 kB / 0.7944 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/0.3163, allocations: 11.98 kB / 0.7944 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3163, allocations: 0 / 0.7944 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3163, allocations: 7.938 kB / 0.7944 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.3166, allocations: 229.4 kB / 0.7946 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3166, allocations: 0 / 0.7946 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.3168, allocations: 51.89 kB / 0.7947 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3169, allocations: 8 kB / 0.7947 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3169, allocations: 4 kB / 0.7947 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3169, allocations: 0 / 0.7947 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3169, allocations: 0 / 0.7947 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009029/0.3178, allocations: 427.4 kB / 0.7951 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.3178, allocations: 96.86 kB / 0.7952 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.3179, allocations: 3.984 kB / 0.7952 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.3181, allocations: 39.95 kB / 0.7952 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/0.3182, allocations: 19.91 kB / 0.7952 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3182, allocations: 8 kB / 0.7952 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.369e-05/0.3183, allocations: 105.9 kB / 0.7953 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3183, allocations: 0 / 0.7953 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003007/0.3186, allocations: 43.98 kB / 0.7954 GB, free: 3.516 MB / 0.6075 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.0002532/0.3188, allocations: 115.2 kB / 0.7955 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008739/0.3197, allocations: 315.8 kB / 0.7958 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3197, allocations: 0 / 0.7958 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.3202, allocations: 163.9 kB / 0.796 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3205, allocations: 15.98 kB / 0.796 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.3211, allocations: 385.8 kB / 0.7963 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3214, allocations: 0.7238 MB / 0.797 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.639e-05/0.3215, allocations: 19.97 kB / 0.7971 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.3216, allocations: 11.44 kB / 0.7971 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3216, allocations: 0 / 0.7971 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of Templates: time 0.004168/0.3257, allocations: 1.547 MB / 0.7986 GB, free: 200 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) Environment - environmentSimulation: