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.001429/0.001429, allocations: 105.4 kB / 16.35 MB, free: 6.34 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.001764/0.001764, allocations: 188.7 kB / 17.29 MB, free: 5.918 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.486/1.486, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.875/1.875, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001672/0.001672, allocations: 75.44 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2568, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002895/0.2598, allocations: 0.8271 MB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.2616, allocations: 1.011 MB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.2617, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.2619, allocations: 7.875 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.262, allocations: 19.8 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.2625, allocations: 87.77 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000189/0.2627, allocations: 123.7 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.2629, allocations: 45.39 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.263, allocations: 55.77 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.2631, allocations: 59.75 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.2632, allocations: 12 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.2634, allocations: 95.91 kB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.2635, allocations: 31.91 kB / 0.7871 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.2636, allocations: 59.55 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.2639, allocations: 199.2 kB / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2639, allocations: 0 / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2639, allocations: 0 / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.2639, allocations: 0 / 0.7874 GB, free: 0.5078 MB / 0.6544 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.478/0.7419, allocations: 472.9 kB / 0.7878 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.742, allocations: 10.44 kB / 0.7878 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.469e-05/0.7421, allocations: 13.16 kB / 0.7878 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.7423, allocations: 206 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.7423, allocations: 7.969 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.7424, allocations: 6.938 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.743, allocations: 190 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.743, allocations: 192 / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.743, allocations: 3.938 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/0.7431, allocations: 19.17 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006032/0.7437, allocations: 199.4 kB / 0.7884 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000896/0.7446, allocations: 458.5 kB / 0.7889 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.745, allocations: 140.5 kB / 0.789 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.7453, allocations: 130.9 kB / 0.7891 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.7454, allocations: 0.7969 kB / 0.7891 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.7454, allocations: 36.41 kB / 0.7892 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.7454, allocations: 0 / 0.7892 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.001224/0.7466, allocations: 402.8 kB / 0.7895 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.7467, allocations: 55.19 kB / 0.7896 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.7468, allocations: 147.4 kB / 0.7897 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.7468, allocations: 30.69 kB / 0.7898 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.7469, allocations: 106.5 kB / 0.7899 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.747, allocations: 47.08 kB / 0.7899 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.747, allocations: 24.83 kB / 0.7899 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.7471, allocations: 325.3 kB / 0.7902 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.7475, allocations: 114 kB / 0.7904 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.7478, allocations: 112.2 kB / 0.7905 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/0.7484, allocations: 246.7 kB / 0.7907 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7485, allocations: 1.594 kB / 0.7907 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007079/0.7492, allocations: 271 kB / 0.791 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.7492, allocations: 9.156 kB / 0.791 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.7492, allocations: 2.672 kB / 0.791 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.7492, allocations: 2.625 kB / 0.791 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.7495, allocations: 33.89 kB / 0.791 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.7495, allocations: 0 / 0.791 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.7497, allocations: 53.36 kB / 0.7911 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.7497, allocations: 2.625 kB / 0.7911 GB, free: 47.56 MB / 0.6544 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 8.206e-05/0.7498, allocations: 123.8 kB / 0.7912 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.7498, allocations: 10.33 kB / 0.7912 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.7499, allocations: 15.03 kB / 0.7912 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.7499, allocations: 9.656 kB / 0.7912 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.7499, allocations: 0 / 0.7912 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.7499, allocations: 7.703 kB / 0.7912 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.7501, allocations: 228.4 kB / 0.7914 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7501, allocations: 3.188 kB / 0.7914 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.7503, allocations: 35.7 kB / 0.7915 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7503, allocations: 4.812 kB / 0.7915 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.7503, allocations: 0.9375 kB / 0.7915 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7504, allocations: 0 / 0.7915 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7504, allocations: 0 / 0.7915 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/0.7511, allocations: 395.9 kB / 0.7919 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.7512, allocations: 87.73 kB / 0.7919 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.7512, allocations: 3.141 kB / 0.7919 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.7514, allocations: 27.31 kB / 0.792 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.7515, allocations: 22.17 kB / 0.792 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.7515, allocations: 0 / 0.792 GB, free: 47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.687e-05/0.7515, allocations: 116.6 kB / 0.7921 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7515, allocations: 4 kB / 0.7921 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003098/0.7519, allocations: 34.28 kB / 0.7921 GB, free: 46.93 MB / 0.6544 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.0002595/0.7521, allocations: 124.3 kB / 0.7923 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007413/0.7529, allocations: 256.2 kB / 0.7925 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7529, allocations: 0 / 0.7925 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.7532, allocations: 130 kB / 0.7926 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.7536, allocations: 26.19 kB / 0.7926 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.7541, allocations: 321 kB / 0.793 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.7544, allocations: 0.7191 MB / 0.7937 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.095e-05/0.7544, allocations: 18.73 kB / 0.7937 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.7545, allocations: 18.03 kB / 0.7937 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of SimCode: time 4.1e-07/0.7545, allocations: 0 / 0.7937 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.004438/0.7589, allocations: 1.893 MB / 0.7955 GB, free: 45.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)