Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.866/1.866, allocations: 287.5 MB / 302.6 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009263/0.0009262, allocations: 196.8 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 88.84 kB / 0.7432 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004527, allocations: 13.88 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3019, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001393/0.3034, allocations: 0.522 MB / 0.9792 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.3049, allocations: 0.9958 MB / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.305, allocations: 0 / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.3051, allocations: 11.92 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.3052, allocations: 11.88 kB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.3056, allocations: 71.84 kB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.3058, allocations: 103.7 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.306, allocations: 41.39 kB / 0.9804 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.3061, allocations: 39.84 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.672e-05/0.3062, allocations: 47.77 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.3062, allocations: 7.938 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3063, allocations: 59.94 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.3064, allocations: 27.8 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.3064, allocations: 45.64 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.3066, allocations: 127.9 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3066, allocations: 0 / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3066, allocations: 0 / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3066, allocations: 0 / 0.9807 GB, free: 26.06 MB / 0.6198 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.0008515/0.3075, allocations: 487 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.3076, allocations: 12.03 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.3076, allocations: 12.75 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.3078, allocations: 204 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.3079, allocations: 12.36 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.3079, allocations: 4.375 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.3084, allocations: 211.4 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3085, allocations: 4.188 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.3085, allocations: 3.938 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.3085, allocations: 15.98 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000673/0.3092, allocations: 251.8 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008923/0.3101, allocations: 492.3 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/0.3105, allocations: 166.4 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.3109, allocations: 160.8 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.311, allocations: 0 / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.311, allocations: 34.56 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 9.01e-07/0.311, allocations: 0 / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001213/0.3122, allocations: 482.8 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.3123, allocations: 59.34 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3124, allocations: 150 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3124, allocations: 29.7 kB / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.3125, allocations: 104.4 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3125, allocations: 43.3 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.3125, allocations: 12.06 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.3126, allocations: 322.8 kB / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.3129, allocations: 139.9 kB / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.3133, allocations: 143.9 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/0.3139, allocations: 289.3 kB / 0.9844 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.314, allocations: 0 / 0.9844 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000698/0.3147, allocations: 330.8 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3147, allocations: 8 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.3147, allocations: 0 / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3147, allocations: 4 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.315, allocations: 55.89 kB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.315, allocations: 4.172 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.3151, allocations: 51.8 kB / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.3152, allocations: 8 kB / 0.9849 GB, free: 21.62 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.3153, allocations: 125.8 kB / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.3153, allocations: 7.906 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.3154, allocations: 20.83 kB / 0.985 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.3154, allocations: 12 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3154, allocations: 0 / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3155, allocations: 3.938 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.3157, allocations: 233.4 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3157, allocations: 0 / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.3159, allocations: 51.95 kB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3159, allocations: 0 / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3159, allocations: 3.984 kB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3159, allocations: 3.984 kB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3159, allocations: 0 / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007699/0.3167, allocations: 435.1 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.3168, allocations: 88.86 kB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.3168, allocations: 8 kB / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.317, allocations: 43.95 kB / 0.9859 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.3171, allocations: 19.86 kB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3171, allocations: 0 / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.179e-05/0.3172, allocations: 111.2 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3172, allocations: 0 / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002686/0.3174, allocations: 39.98 kB / 0.986 GB, free: 20.35 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002313/0.3177, allocations: 119.2 kB / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007549/0.3184, allocations: 314.3 kB / 0.9864 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3185, allocations: 0 / 0.9864 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.3188, allocations: 159.9 kB / 0.9866 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3192, allocations: 16 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.3197, allocations: 366.9 kB / 0.9869 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.3199, allocations: 0.7238 MB / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.259e-05/0.32, allocations: 15.97 kB / 0.9877 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.32, allocations: 11.44 kB / 0.9877 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.32, allocations: 4 kB / 0.9877 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.004156/0.3242, allocations: 1.513 MB / 0.9892 GB, free: 17.09 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)