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.0009253/0.0009252, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009107/0.0009107, allocations: 177.3 kB / 15.95 MB, free: 216 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.286/1.286, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.549/1.549, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.000525/0.0005251, allocations: 17.88 kB / 0.6736 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2284, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.0008903/0.2294, allocations: 0.5336 MB / 0.7877 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2304, allocations: 0.997 MB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.2305, allocations: 3.938 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.686e-05/0.2305, allocations: 11.92 kB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.277e-05/0.2306, allocations: 15.97 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.2308, allocations: 63.86 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.508e-05/0.2309, allocations: 71.84 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2311, allocations: 37.38 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.199e-05/0.2312, allocations: 43.83 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.2312, allocations: 43.83 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2312, allocations: 4 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.2313, allocations: 47.97 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.2314, allocations: 23.91 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.2314, allocations: 45.58 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.2316, allocations: 131.9 kB / 0.7892 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.2316, allocations: 0 / 0.7892 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2316, allocations: 4 kB / 0.7892 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2316, allocations: 0 / 0.7892 GB, free: 9.863 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.0007768/0.2324, allocations: 490.8 kB / 0.7896 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2324, allocations: 12.02 kB / 0.7896 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.2325, allocations: 15.81 kB / 0.7896 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.2327, allocations: 202.7 kB / 0.7898 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.2327, allocations: 8 kB / 0.7899 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.2327, allocations: 4 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.2333, allocations: 212.4 kB / 0.7901 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2333, allocations: 0 / 0.7901 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.2333, allocations: 7.984 kB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.2334, allocations: 11.94 kB / 0.7901 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.2341, allocations: 259.8 kB / 0.7903 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/0.235, allocations: 484.3 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.2355, allocations: 166.5 kB / 0.7909 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.2355, allocations: 3.984 kB / 0.7909 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2355, allocations: 34.5 kB / 0.791 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.2355, allocations: 0 / 0.791 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.00138/0.2369, allocations: 0.6354 MB / 0.7916 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.237, allocations: 51.41 kB / 0.7917 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2371, allocations: 144.7 kB / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.2371, allocations: 29.7 kB / 0.7918 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.2372, allocations: 108.3 kB / 0.7919 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.2373, allocations: 47.3 kB / 0.792 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.2373, allocations: 0 / 0.792 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2374, allocations: 322.8 kB / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.2378, allocations: 143.9 kB / 0.7924 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.2382, allocations: 143.8 kB / 0.7925 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.2386, allocations: 135.9 kB / 0.7927 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2386, allocations: 4 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008074/0.2394, allocations: 333.2 kB / 0.793 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2395, allocations: 11.92 kB / 0.793 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2395, allocations: 4 kB / 0.793 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2395, allocations: 0 / 0.793 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.2397, allocations: 51.91 kB / 0.7931 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2398, allocations: 0 / 0.7931 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2399, allocations: 55.84 kB / 0.7931 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.24, allocations: 4 kB / 0.7931 GB, free: 5.551 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.0001136/0.2401, allocations: 129.8 kB / 0.7932 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.2401, allocations: 7.906 kB / 0.7933 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.2402, allocations: 12.84 kB / 0.7933 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.2402, allocations: 11.98 kB / 0.7933 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.2402, allocations: 3.953 kB / 0.7933 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2402, allocations: 4 kB / 0.7933 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.2405, allocations: 229.4 kB / 0.7935 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2405, allocations: 4 kB / 0.7935 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.2407, allocations: 43.95 kB / 0.7935 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2407, allocations: 0 / 0.7935 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.2407, allocations: 8 kB / 0.7936 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2408, allocations: 4 kB / 0.7936 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2408, allocations: 0 / 0.7936 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.2416, allocations: 434.3 kB / 0.794 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.2417, allocations: 96.84 kB / 0.7941 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.2417, allocations: 7.938 kB / 0.7941 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.2419, allocations: 43.95 kB / 0.7941 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.242, allocations: 19.92 kB / 0.7941 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.242, allocations: 0 / 0.7941 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.708e-05/0.2421, allocations: 113.9 kB / 0.7942 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2421, allocations: 4 kB / 0.7942 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002655/0.2424, allocations: 35.95 kB / 0.7943 GB, free: 4.27 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.0002039/0.2426, allocations: 123.2 kB / 0.7944 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008385/0.2434, allocations: 303.8 kB / 0.7947 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2434, allocations: 4 kB / 0.7947 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.2439, allocations: 163.8 kB / 0.7948 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2441, allocations: 16.61 kB / 0.7949 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.2446, allocations: 365.8 kB / 0.7952 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.2449, allocations: 0.7279 MB / 0.7959 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.285e-05/0.245, allocations: 11.98 kB / 0.7959 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.245, allocations: 11.44 kB / 0.7959 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.245, allocations: 0 / 0.7959 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.003522/0.2486, allocations: 1.525 MB / 0.7974 GB, free: 0.9922 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: