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.0008472/0.0008473, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009455/0.0009455, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.648/1.648, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005767/0.0005768, allocations: 23.78 kB / 0.6737 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2369, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001171/0.2382, allocations: 0.5335 MB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2395, allocations: 0.9968 MB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.2395, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.695e-05/0.2396, allocations: 7.938 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.974e-05/0.2397, allocations: 19.84 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.24, allocations: 63.88 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.2402, allocations: 107.7 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.2404, allocations: 37.38 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.508e-05/0.2405, allocations: 43.84 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.2406, allocations: 51.7 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.2406, allocations: 4 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.2407, allocations: 51.89 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.2407, allocations: 19.92 kB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.2408, allocations: 45.64 kB / 0.7892 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.241, allocations: 135.9 kB / 0.7894 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.241, allocations: 0 / 0.7894 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.241, allocations: 0 / 0.7894 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.241, allocations: 0 / 0.7894 GB, free: 9.809 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.0008022/0.2418, allocations: 486.8 kB / 0.7898 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2418, allocations: 8.031 kB / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.2419, allocations: 15.81 kB / 0.7898 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.2421, allocations: 202.7 kB / 0.79 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2421, allocations: 11.94 kB / 0.79 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.2421, allocations: 4 kB / 0.7901 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.2426, allocations: 216.4 kB / 0.7903 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2427, allocations: 7.984 kB / 0.7903 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2427, allocations: 0 / 0.7903 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.2427, allocations: 11.98 kB / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006415/0.2434, allocations: 255.8 kB / 0.7905 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008786/0.2443, allocations: 484.3 kB / 0.791 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.2447, allocations: 174.4 kB / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.245, allocations: 152.8 kB / 0.7913 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.245, allocations: 4 kB / 0.7913 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.2451, allocations: 30.56 kB / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.2451, allocations: 0 / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001161/0.2462, allocations: 489.3 kB / 0.7918 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.2463, allocations: 55.34 kB / 0.7918 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.2465, allocations: 148.7 kB / 0.792 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2465, allocations: 25.7 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.2467, allocations: 104.4 kB / 0.7921 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.2468, allocations: 47.3 kB / 0.7922 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.2468, allocations: 4 kB / 0.7922 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.2469, allocations: 326.8 kB / 0.7925 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.2473, allocations: 135.9 kB / 0.7926 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.2476, allocations: 147.2 kB / 0.7927 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.2479, allocations: 151.9 kB / 0.7929 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.248, allocations: 0 / 0.7929 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008195/0.2488, allocations: 329.2 kB / 0.7932 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.2488, allocations: 8 kB / 0.7932 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2488, allocations: 0 / 0.7932 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2488, allocations: 3.953 kB / 0.7932 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.2491, allocations: 55.83 kB / 0.7933 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2491, allocations: 4 kB / 0.7933 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.2493, allocations: 51.86 kB / 0.7933 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.2493, allocations: 4 kB / 0.7933 GB, free: 5.527 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.2495, allocations: 121.8 kB / 0.7934 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.2495, allocations: 7.906 kB / 0.7934 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.2496, allocations: 20.83 kB / 0.7935 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.2496, allocations: 11.94 kB / 0.7935 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.2496, allocations: 7.953 kB / 0.7935 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2496, allocations: 0 / 0.7935 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.2499, allocations: 229.4 kB / 0.7937 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2499, allocations: 4 kB / 0.7937 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.2501, allocations: 51.95 kB / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2501, allocations: 0 / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2501, allocations: 0 / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2501, allocations: 0 / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2501, allocations: 0 / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.2509, allocations: 439.1 kB / 0.7942 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.2511, allocations: 92.86 kB / 0.7943 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.2511, allocations: 11.98 kB / 0.7943 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.2513, allocations: 35.97 kB / 0.7943 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.2514, allocations: 19.97 kB / 0.7943 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-06/0.2514, allocations: 0 / 0.7943 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.754e-05/0.2515, allocations: 117.8 kB / 0.7944 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2515, allocations: 0 / 0.7944 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002812/0.2517, allocations: 32 kB / 0.7945 GB, free: 4.254 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 (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.0002544/0.252, allocations: 119.2 kB / 0.7946 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007783/0.2528, allocations: 315.7 kB / 0.7949 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2528, allocations: 0 / 0.7949 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.2532, allocations: 155.9 kB / 0.795 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.2536, allocations: 19.22 kB / 0.7951 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.2542, allocations: 369.9 kB / 0.7954 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.2546, allocations: 0.724 MB / 0.7961 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.154e-05/0.2547, allocations: 19.95 kB / 0.7961 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.2547, allocations: 11.44 kB / 0.7961 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of SimCode: time 1.794e-06/0.2547, allocations: 0 / 0.7961 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.004507/0.2592, allocations: 1.515 MB / 0.7976 GB, free: 0.9766 MB / 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: