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.001644/0.001644, allocations: 78.41 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001699/0.001699, allocations: 168.6 kB / 22.46 MB, free: 5.363 MB / 14.72 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.602/1.602, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.831/2.831, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 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.585e-06/2.585e-06, allocations: 0 / 0.9511 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.102e-05, allocations: 2.281 kB / 0.9511 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002019/0.00205, allocations: 0.8079 MB / 0.9518 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.003605, allocations: 1.034 MB / 0.9529 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.003663, allocations: 4 kB / 0.9529 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.003769, allocations: 11.86 kB / 0.9529 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.838e-05/0.003827, allocations: 23.8 kB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.004263, allocations: 91.77 kB / 0.953 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.004447, allocations: 127.6 kB / 0.9531 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.0046, allocations: 33.28 kB / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.004715, allocations: 67.88 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.004803, allocations: 51.86 kB / 0.9532 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.004831, allocations: 8 kB / 0.9533 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.004995, allocations: 95.78 kB / 0.9533 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.005059, allocations: 35.92 kB / 0.9534 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.005118, allocations: 39.83 kB / 0.9534 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.00544, allocations: 227.2 kB / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.005444, allocations: 3.938 kB / 0.9536 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005444, allocations: 4 kB / 0.9536 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.299e-05/0.005467, allocations: 0 / 0.9536 GB, free: 8.801 MB / 0.8575 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.0009035/0.006371, allocations: 421.4 kB / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.006408, allocations: 12.03 kB / 0.9541 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.006451, allocations: 12.84 kB / 0.9541 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.006687, allocations: 157.4 kB / 0.9542 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.006698, allocations: 8.359 kB / 0.9542 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.006721, allocations: 12.38 kB / 0.9542 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.007369, allocations: 202.1 kB / 0.9544 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.007384, allocations: 192 / 0.9544 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.007407, allocations: 8.312 kB / 0.9544 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.007418, allocations: 4.375 kB / 0.9544 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008425/0.00826, allocations: 223.7 kB / 0.9547 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.009274, allocations: 444 kB / 0.9551 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.00978, allocations: 150.5 kB / 0.9552 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004426/0.01022, allocations: 144.7 kB / 0.9554 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.437e-05/0.01028, allocations: 11.98 kB / 0.9554 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.01032, allocations: 30.56 kB / 0.9554 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.01032, allocations: 0 / 0.9554 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.001526/0.01184, allocations: 473.4 kB / 0.9559 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.01189, allocations: 55.39 kB / 0.9559 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.01204, allocations: 153 kB / 0.9561 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.01207, allocations: 25.7 kB / 0.9561 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.01216, allocations: 112.5 kB / 0.9562 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.01224, allocations: 79.39 kB / 0.9563 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.01231, allocations: 33.7 kB / 0.9563 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.01248, allocations: 330.8 kB / 0.9566 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.0129, allocations: 131.8 kB / 0.9567 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.01334, allocations: 136.5 kB / 0.9569 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008699/0.01421, allocations: 298.8 kB / 0.9571 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01421, allocations: 0 / 0.9571 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009409/0.01515, allocations: 331.9 kB / 0.9575 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.01517, allocations: 4 kB / 0.9575 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.01519, allocations: 0 / 0.9575 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.01521, allocations: 4 kB / 0.9575 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.01545, allocations: 31.95 kB / 0.9575 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.01547, allocations: 3.938 kB / 0.9575 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.01567, allocations: 43.91 kB / 0.9576 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.01571, allocations: 0 / 0.9576 GB, free: 4.625 MB / 0.8575 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.0001789/0.01588, allocations: 147.8 kB / 0.9577 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.01593, allocations: 15.84 kB / 0.9577 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.017, allocations: 362.5 kB / 0.9581 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.01701, allocations: 3.984 kB / 0.9581 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01701, allocations: 4 kB / 0.9581 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01702, allocations: 0 / 0.9581 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.01731, allocations: 200.9 kB / 0.9583 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.01732, allocations: 11.92 kB / 0.9583 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.01754, allocations: 39.89 kB / 0.9583 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01754, allocations: 0 / 0.9583 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01755, allocations: 0 / 0.9583 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01755, allocations: 0 / 0.9583 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01755, allocations: 4 kB / 0.9583 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.01857, allocations: 439 kB / 0.9587 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.0186, allocations: 15.84 kB / 0.9587 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.01862, allocations: 0 / 0.9587 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.01884, allocations: 35.95 kB / 0.9588 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.01892, allocations: 11.98 kB / 0.9588 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.01893, allocations: 4 kB / 0.9588 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001011/0.01903, allocations: 111.2 kB / 0.9589 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.01903, allocations: 0 / 0.9589 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003069/0.01934, allocations: 43.89 kB / 0.9589 GB, free: 3.152 MB / 0.8575 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.0002537/0.01959, allocations: 123.2 kB / 0.9591 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.02063, allocations: 363.5 kB / 0.9594 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02063, allocations: 0 / 0.9594 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.02118, allocations: 223.2 kB / 0.9596 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.02153, allocations: 32.2 kB / 0.9596 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006771/0.02221, allocations: 342.7 kB / 0.96 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.02234, allocations: 129.6 kB / 0.9601 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.535e-05/0.02241, allocations: 15.97 kB / 0.9601 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.02246, allocations: 12.5 kB / 0.9601 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.02246, allocations: 0 / 0.9601 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of Templates: time 0.006212/0.02867, allocations: 2.159 MB / 0.9622 GB, free: 15.74 MB / 0.8731 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.333591632544994]