Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0025/0.0025, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00268/0.00268, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.722/1.722, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.002/3.002, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sorAsc.u.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.|sorAsc.yIdx.1.|sorAsc.yIdx.2.|sorAsc.yIdx.3.|sorAsc.yIdx.4.|sorAsc.yIdx.5.|sorDes.yIdx.1.|sorDes.yIdx.2.|sorDes.yIdx.3.|sorDes.yIdx.4.|sorDes.yIdx.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sorAsc.u.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.|sorAsc.yIdx.1.|sorAsc.yIdx.2.|sorAsc.yIdx.3.|sorAsc.yIdx.4.|sorAsc.yIdx.5.|sorDes.yIdx.1.|sorDes.yIdx.2.|sorDes.yIdx.3.|sorDes.yIdx.4.|sorDes.yIdx.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.024e-05, allocations: 0 / 0.8109 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/3.845e-05, allocations: 6.312 kB / 0.8109 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002161/0.002199, allocations: 0.819 MB / 0.8117 GB, free: 56 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.003771, allocations: 1.046 MB / 0.8127 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.003826, allocations: 0.875 kB / 0.8127 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.003961, allocations: 11.86 kB / 0.8127 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.614e-05/0.004027, allocations: 24.95 kB / 0.8127 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.004439, allocations: 92.72 kB / 0.8128 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.004613, allocations: 123.6 kB / 0.8129 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.00475, allocations: 37.92 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.004878, allocations: 71.81 kB / 0.813 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.212e-05/0.00497, allocations: 48.75 kB / 0.8131 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.005013, allocations: 8 kB / 0.8131 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.005191, allocations: 93.03 kB / 0.8132 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.388e-05/0.005265, allocations: 47.84 kB / 0.8132 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.005322, allocations: 27.91 kB / 0.8133 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.005697, allocations: 227.3 kB / 0.8135 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005701, allocations: 1.656 kB / 0.8135 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.463e-06/0.005702, allocations: 0 / 0.8135 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.005707, allocations: 0 / 0.8135 GB, free: 14.2 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0008781/0.006586, allocations: 0.5006 MB / 0.814 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.006627, allocations: 15.97 kB / 0.814 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.006695, allocations: 20.8 kB / 0.814 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.006929, allocations: 155.1 kB / 0.8141 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.006941, allocations: 4.375 kB / 0.8141 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.006962, allocations: 8.375 kB / 0.8142 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.007353, allocations: 127.4 kB / 0.8143 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.007362, allocations: 192 / 0.8143 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.007379, allocations: 5.281 kB / 0.8143 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.007387, allocations: 4.375 kB / 0.8143 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.007825, allocations: 116.4 kB / 0.8144 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008447/0.008669, allocations: 448 kB / 0.8148 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.008963, allocations: 92.08 kB / 0.8149 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.009216, allocations: 73.61 kB / 0.815 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.009277, allocations: 4.594 kB / 0.815 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.009318, allocations: 37.39 kB / 0.815 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.092e-06/0.009319, allocations: 1.156 kB / 0.815 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0009163/0.01024, allocations: 274.5 kB / 0.8153 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.0103, allocations: 53.62 kB / 0.8153 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.01056, allocations: 233.1 kB / 0.8156 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.01059, allocations: 29.7 kB / 0.8156 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.01072, allocations: 155.3 kB / 0.8157 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.01084, allocations: 79.39 kB / 0.8158 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/0.01093, allocations: 47.36 kB / 0.8159 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003144/0.01125, allocations: 0.5123 MB / 0.8164 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.01147, allocations: 59.39 kB / 0.8164 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.01168, allocations: 56.05 kB / 0.8165 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.01214, allocations: 146 kB / 0.8166 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.01214, allocations: 0.5312 kB / 0.8166 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006804/0.01282, allocations: 195.1 kB / 0.8168 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.01284, allocations: 9.406 kB / 0.8168 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.01287, allocations: 4.062 kB / 0.8168 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.01289, allocations: 3.984 kB / 0.8168 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.01315, allocations: 20.52 kB / 0.8168 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.01316, allocations: 7.922 kB / 0.8168 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.01334, allocations: 24.56 kB / 0.8169 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.01338, allocations: 5.969 kB / 0.8169 GB, free: 10.55 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002565/0.01364, allocations: 172.5 kB / 0.817 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.01371, allocations: 11.91 kB / 0.817 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.01478, allocations: 234.6 kB / 0.8173 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.01478, allocations: 1.344 kB / 0.8173 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.01479, allocations: 4 kB / 0.8173 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.0148, allocations: 0 / 0.8173 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.01537, allocations: 184.4 kB / 0.8174 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.01538, allocations: 4.875 kB / 0.8175 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.01552, allocations: 21.48 kB / 0.8175 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01552, allocations: 0 / 0.8175 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.01555, allocations: 4 kB / 0.8175 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01555, allocations: 0 / 0.8175 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.01555, allocations: 7.641 kB / 0.8175 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.01623, allocations: 359.6 kB / 0.8178 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.01626, allocations: 23.84 kB / 0.8179 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.01628, allocations: 0 / 0.8179 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.01641, allocations: 11.98 kB / 0.8179 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.0165, allocations: 19.97 kB / 0.8179 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.01652, allocations: 4.938 kB / 0.8179 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001532/0.01667, allocations: 155.2 kB / 0.818 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/0.01667, allocations: 1.062 kB / 0.818 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003065/0.01698, allocations: 47.89 kB / 0.8181 GB, free: 9.25 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * 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 (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.0002637/0.01724, allocations: 122.6 kB / 0.8182 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006521/0.01789, allocations: 233.6 kB / 0.8184 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01789, allocations: 0 / 0.8184 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.01822, allocations: 158.2 kB / 0.8186 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.01856, allocations: 37.83 kB / 0.8186 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006157/0.01917, allocations: 303.3 kB / 0.8189 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.01931, allocations: 116.3 kB / 0.819 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.19e-05/0.01939, allocations: 17.72 kB / 0.819 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.01944, allocations: 16.03 kB / 0.819 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.01944, allocations: 3.938 kB / 0.819 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of Templates: time 0.006325/0.02577, allocations: 2.163 MB / 0.8212 GB, free: 6.066 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.319496799027547]