Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.108/2.108, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 174.9 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.479/2.479, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000932/0.0009316, allocations: 97.59 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007435/0.0007437, allocations: 16.12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2245, allocations: 106.3 MB / 0.8995 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2645/0.4891, allocations: 131.6 MB / 1.028 GB, free: 13.77 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.4895, allocations: 79.95 kB / 1.028 GB, free: 13.7 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.01771/0.5072, allocations: 3.626 MB / 1.032 GB, free: 10.07 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5072, allocations: 0 / 1.032 GB, free: 10.07 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.5073, allocations: 0 / 1.032 GB, free: 10.07 MB / 0.6824 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.001374/0.5086, allocations: 0.4949 MB / 1.032 GB, free: 9.52 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.5087, allocations: 8.031 kB / 1.032 GB, free: 9.512 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.5089, allocations: 16.75 kB / 1.032 GB, free: 9.496 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.5093, allocations: 204 kB / 1.032 GB, free: 9.258 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.5094, allocations: 4.375 kB / 1.032 GB, free: 9.254 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.5095, allocations: 8.375 kB / 1.032 GB, free: 9.246 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.5111, allocations: 212.5 kB / 1.033 GB, free: 9.035 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.5112, allocations: 4.188 kB / 1.033 GB, free: 9.031 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.5112, allocations: 7.938 kB / 1.033 GB, free: 9.023 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.5113, allocations: 0 / 1.033 GB, free: 9.023 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.5138, allocations: 255.7 kB / 1.033 GB, free: 8.773 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.5166, allocations: 0.512 MB / 1.033 GB, free: 8.211 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.5181, allocations: 166.4 kB / 1.033 GB, free: 8.039 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.5192, allocations: 156.8 kB / 1.034 GB, free: 7.883 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 7.767e-05/0.5193, allocations: 3.984 kB / 1.034 GB, free: 7.879 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.5194, allocations: 30.56 kB / 1.034 GB, free: 7.84 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=15): time 4.779e-06/0.5194, allocations: 0 / 1.034 GB, free: 7.84 MB / 0.6824 GB Notification: Performance of matching and sorting (n=15): time 0.003833/0.5232, allocations: 473.3 kB / 1.034 GB, free: 7.371 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.5234, allocations: 59.34 kB / 1.034 GB, free: 7.301 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.5237, allocations: 150.1 kB / 1.034 GB, free: 7.145 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 6.136e-05/0.5238, allocations: 25.7 kB / 1.034 GB, free: 7.113 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.5239, allocations: 112.2 kB / 1.034 GB, free: 6.996 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.5241, allocations: 47.36 kB / 1.035 GB, free: 6.949 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.5241, allocations: 0 / 1.035 GB, free: 6.949 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.5243, allocations: 326.8 kB / 1.035 GB, free: 6.621 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.5256, allocations: 135.9 kB / 1.035 GB, free: 6.488 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.5269, allocations: 135.9 kB / 1.035 GB, free: 6.355 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.5282, allocations: 140.9 kB / 1.035 GB, free: 6.219 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.5283, allocations: 11.92 kB / 1.035 GB, free: 6.207 MB / 0.6824 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.002603/0.5309, allocations: 343.3 kB / 1.036 GB, free: 5.867 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.531, allocations: 4 kB / 1.036 GB, free: 5.863 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/0.531, allocations: 4 kB / 1.036 GB, free: 5.859 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.5311, allocations: 0 / 1.036 GB, free: 5.859 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/0.5318, allocations: 47.95 kB / 1.036 GB, free: 5.812 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.5319, allocations: 3.938 kB / 1.036 GB, free: 5.809 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.5325, allocations: 51.95 kB / 1.036 GB, free: 5.758 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.5326, allocations: 4 kB / 1.036 GB, free: 5.754 MB / 0.6824 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002672/0.5329, allocations: 125.8 kB / 1.036 GB, free: 5.621 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.533, allocations: 11.81 kB / 1.036 GB, free: 5.609 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.5357, allocations: 358.2 kB / 1.036 GB, free: 5.25 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.5358, allocations: 4 kB / 1.036 GB, free: 5.246 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.5359, allocations: 3.938 kB / 1.036 GB, free: 5.242 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5359, allocations: 0 / 1.036 GB, free: 5.242 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007038/0.5366, allocations: 249.4 kB / 1.036 GB, free: 4.949 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/0.5366, allocations: 0 / 1.036 GB, free: 4.949 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006753/0.5373, allocations: 51.95 kB / 1.036 GB, free: 4.898 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.5374, allocations: 0 / 1.036 GB, free: 4.898 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.5374, allocations: 4 kB / 1.036 GB, free: 4.895 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.5375, allocations: 0 / 1.036 GB, free: 4.895 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.5375, allocations: 3.938 kB / 1.036 GB, free: 4.891 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.5401, allocations: 435.2 kB / 1.037 GB, free: 4.449 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5403, allocations: 92.86 kB / 1.037 GB, free: 4.34 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.5404, allocations: 4 kB / 1.037 GB, free: 4.336 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000639/0.541, allocations: 43.95 kB / 1.037 GB, free: 4.293 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.5412, allocations: 23.84 kB / 1.037 GB, free: 4.27 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.5412, allocations: 4 kB / 1.037 GB, free: 4.266 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001675/0.5414, allocations: 103.3 kB / 1.037 GB, free: 4.164 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6.31e-07/0.5415, allocations: 0 / 1.037 GB, free: 4.164 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0006428/0.5421, allocations: 51.92 kB / 1.037 GB, free: 4.113 MB / 0.6824 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000402/0.5425, allocations: 120.6 kB / 1.037 GB, free: 3.988 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.002627/0.5452, allocations: 371.1 kB / 1.038 GB, free: 3.613 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.5453, allocations: 0 / 1.038 GB, free: 3.613 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.5466, allocations: 227.2 kB / 1.038 GB, free: 3.379 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/0.5474, allocations: 18.05 kB / 1.038 GB, free: 3.363 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.5486, allocations: 332.4 kB / 1.038 GB, free: 3.008 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.5491, allocations: 0.72 MB / 1.039 GB, free: 2.262 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.5493, allocations: 19.97 kB / 1.039 GB, free: 2.242 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.838e-05/0.5494, allocations: 11.44 kB / 1.039 GB, free: 2.234 MB / 0.6824 GB Notification: Performance of SimCode: time 1.594e-06/0.5495, allocations: 0 / 1.039 GB, free: 2.234 MB / 0.6824 GB Notification: Performance of Templates: time 0.009652/0.5591, allocations: 1.604 MB / 1.04 GB, free: 0.6445 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)