Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001521/0.001521, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001808/0.001808, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.548/1.548, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.817/2.817, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.482e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002359/0.002394, allocations: 0.825 MB / 0.7873 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.004314, allocations: 1.042 MB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.004392, allocations: 0 / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.004536, allocations: 12.61 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.029e-05/0.004616, allocations: 28.3 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.005134, allocations: 96.38 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.005344, allocations: 125 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.005501, allocations: 29.3 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.005648, allocations: 71.86 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.005739, allocations: 47.88 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.005783, allocations: 12.84 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.006002, allocations: 91.8 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.006083, allocations: 40.45 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.006166, allocations: 40.75 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.006632, allocations: 223.2 kB / 0.7891 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.006636, allocations: 4 kB / 0.7891 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/0.006638, allocations: 0.6562 kB / 0.7891 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.006646, allocations: 0 / 0.7891 GB, free: 10.08 MB / 0.7448 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.001121/0.007767, allocations: 416.4 kB / 0.7895 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.007809, allocations: 8.031 kB / 0.7895 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.761e-05/0.007896, allocations: 24.8 kB / 0.7895 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.008148, allocations: 154.7 kB / 0.7896 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.008166, allocations: 8.375 kB / 0.7896 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.008187, allocations: 4.375 kB / 0.7896 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006454/0.008833, allocations: 200.4 kB / 0.7898 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.008844, allocations: 192 / 0.7898 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.008866, allocations: 13.02 kB / 0.7899 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.008877, allocations: 4.375 kB / 0.7899 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007862/0.009663, allocations: 219.1 kB / 0.7901 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.01068, allocations: 450.3 kB / 0.7905 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.01138, allocations: 156.9 kB / 0.7906 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.0118, allocations: 135.7 kB / 0.7908 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-05/0.01186, allocations: 11.98 kB / 0.7908 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.0119, allocations: 39.2 kB / 0.7908 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.362e-06/0.01191, allocations: 0 / 0.7908 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.00155/0.01346, allocations: 476.7 kB / 0.7913 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.01351, allocations: 55.34 kB / 0.7913 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.01369, allocations: 158.9 kB / 0.7915 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.01372, allocations: 27.08 kB / 0.7915 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.0138, allocations: 104.6 kB / 0.7916 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/0.01389, allocations: 71.33 kB / 0.7917 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.01397, allocations: 37.7 kB / 0.7917 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.01416, allocations: 335.9 kB / 0.792 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.01459, allocations: 129.3 kB / 0.7922 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.015, allocations: 137.6 kB / 0.7923 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008432/0.01584, allocations: 295.1 kB / 0.7926 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01584, allocations: 0 / 0.7926 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000927/0.01677, allocations: 338.4 kB / 0.7929 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01679, allocations: 4 kB / 0.7929 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.01681, allocations: 4.938 kB / 0.7929 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.01683, allocations: 0 / 0.7929 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.01706, allocations: 37.02 kB / 0.7929 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.01707, allocations: 4 kB / 0.7929 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.01728, allocations: 41.75 kB / 0.793 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.01731, allocations: 4 kB / 0.793 GB, free: 5.934 MB / 0.7448 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.0001578/0.01747, allocations: 138.7 kB / 0.7931 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.01751, allocations: 12.47 kB / 0.7931 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.01854, allocations: 374.2 kB / 0.7935 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.01854, allocations: 0 / 0.7935 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.01855, allocations: 0 / 0.7935 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01855, allocations: 0 / 0.7935 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.01884, allocations: 201.1 kB / 0.7937 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.01885, allocations: 3.938 kB / 0.7937 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.01906, allocations: 32.86 kB / 0.7937 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01906, allocations: 4 kB / 0.7937 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.01908, allocations: 1.125 kB / 0.7937 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.01908, allocations: 3.984 kB / 0.7937 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01908, allocations: 0 / 0.7937 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.02013, allocations: 442 kB / 0.7941 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.02016, allocations: 24.67 kB / 0.7942 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.02018, allocations: 3.938 kB / 0.7942 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.02039, allocations: 29.05 kB / 0.7942 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.02048, allocations: 11.98 kB / 0.7942 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.02049, allocations: 8 kB / 0.7942 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001085/0.0206, allocations: 115.2 kB / 0.7943 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0206, allocations: 0 / 0.7943 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003371/0.02094, allocations: 35.94 kB / 0.7944 GB, free: 4.48 MB / 0.7448 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.0003456/0.02128, allocations: 127.2 kB / 0.7945 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.02232, allocations: 367.2 kB / 0.7948 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02232, allocations: 0 / 0.7948 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.02287, allocations: 231.1 kB / 0.795 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.02328, allocations: 25.64 kB / 0.7951 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007706/0.02406, allocations: 353.5 kB / 0.7954 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.02421, allocations: 131.2 kB / 0.7955 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.899e-05/0.02429, allocations: 15.97 kB / 0.7955 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.02434, allocations: 12.5 kB / 0.7956 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.02434, allocations: 0 / 0.7956 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.007301/0.03164, allocations: 2.165 MB / 0.7977 GB, free: 1.047 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.05677031504456]