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.0009766/0.0009766, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009847/0.0009847, allocations: 161 kB / 23.82 MB, free: 0.75 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/1, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] 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 1.815/1.815, allocations: 359 MB / 0.6052 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] 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.[0-9,]+.|sorAsc.y.[0-9,]+.|sorDes.y.[0-9,]+.|sorAsc.yIdx.[0-9,]+.|sorDes.yIdx.[0-9,]+.",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.[0-9,]+.|sorAsc.y.[0-9,]+.|sorDes.y.[0-9,]+.|sorAsc.yIdx.[0-9,]+.|sorDes.yIdx.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.978e-05/4.244e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002347/0.00239, allocations: 0.8457 MB / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.004176, allocations: 1.058 MB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.698e-05/0.004263, allocations: 5.156 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.00443, allocations: 15.86 kB / 0.789 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.717e-05/0.004507, allocations: 28.69 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.005152, allocations: 87.77 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.005375, allocations: 132.2 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.005584, allocations: 29.97 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.005728, allocations: 71.88 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.005813, allocations: 48.78 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.005845, allocations: 11.94 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.006026, allocations: 88.5 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.006099, allocations: 47.83 kB / 0.7896 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.006158, allocations: 29.58 kB / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.006472, allocations: 183.3 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006474, allocations: 0 / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.006475, allocations: 0 / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.006481, allocations: 0 / 0.7898 GB, free: 9.73 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.000722/0.007203, allocations: 497.1 kB / 0.7902 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.007256, allocations: 8.031 kB / 0.7903 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.00732, allocations: 26.39 kB / 0.7903 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.007541, allocations: 160.2 kB / 0.7904 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.007559, allocations: 4.375 kB / 0.7904 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.007584, allocations: 8.375 kB / 0.7904 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.00793, allocations: 126.3 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.007947, allocations: 192 / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.007965, allocations: 4.375 kB / 0.7906 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.007979, allocations: 4.375 kB / 0.7906 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.008084, allocations: 31.92 kB / 0.7906 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000706/0.00879, allocations: 428 kB / 0.791 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.008896, allocations: 43.75 kB / 0.7911 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.008969, allocations: 39.67 kB / 0.7911 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.266e-05/0.009032, allocations: 4.531 kB / 0.7911 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.009064, allocations: 34.11 kB / 0.7911 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.009067, allocations: 0 / 0.7911 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.000385/0.009452, allocations: 168.6 kB / 0.7913 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.009489, allocations: 55.39 kB / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.009646, allocations: 205.9 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.009666, allocations: 26.23 kB / 0.7916 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.009746, allocations: 160.6 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.009822, allocations: 71.45 kB / 0.7918 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.009892, allocations: 43.36 kB / 0.7918 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.01009, allocations: 0.504 MB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.01015, allocations: 21.2 kB / 0.7923 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.0102, allocations: 20 kB / 0.7924 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.01033, allocations: 81.36 kB / 0.7924 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01033, allocations: 8.5 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002137/0.01055, allocations: 119.6 kB / 0.7926 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.01057, allocations: 4.812 kB / 0.7926 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.01059, allocations: 0 / 0.7926 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.01061, allocations: 4.938 kB / 0.7926 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.01075, allocations: 20.97 kB / 0.7926 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.01076, allocations: 4 kB / 0.7926 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.01084, allocations: 22.91 kB / 0.7926 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.01087, allocations: 4 kB / 0.7926 GB, free: 6.629 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.0001463/0.01101, allocations: 170.4 kB / 0.7928 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.01105, allocations: 15.89 kB / 0.7928 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.01135, allocations: 164.4 kB / 0.793 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.01135, allocations: 4 kB / 0.793 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01136, allocations: 1.344 kB / 0.793 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01136, allocations: 0 / 0.793 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.01158, allocations: 188.4 kB / 0.7931 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.01159, allocations: 0 / 0.7931 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.01169, allocations: 20.61 kB / 0.7932 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.01169, allocations: 4.547 kB / 0.7932 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.0117, allocations: 0.875 kB / 0.7932 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.0117, allocations: 0 / 0.7932 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01171, allocations: 4.312 kB / 0.7932 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.01199, allocations: 284.7 kB / 0.7934 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.01201, allocations: 19.86 kB / 0.7935 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.01203, allocations: 1 kB / 0.7935 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.01213, allocations: 15.98 kB / 0.7935 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.0122, allocations: 17.56 kB / 0.7935 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.01221, allocations: 4 kB / 0.7935 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001165/0.01233, allocations: 149.4 kB / 0.7936 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01233, allocations: 0 / 0.7936 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003228/0.01265, allocations: 39.94 kB / 0.7937 GB, free: 5.488 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.0002067/0.01286, allocations: 125.5 kB / 0.7938 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.01313, allocations: 158.5 kB / 0.7939 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01313, allocations: 1.219 kB / 0.7939 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.01327, allocations: 119.1 kB / 0.7941 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.01362, allocations: 38.58 kB / 0.7941 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.01417, allocations: 293.4 kB / 0.7944 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.946e-05/0.01424, allocations: 87.25 kB / 0.7945 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.498e-05/0.01431, allocations: 14.08 kB / 0.7945 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.01436, allocations: 20.5 kB / 0.7945 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.01436, allocations: 0 / 0.7945 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of Templates: time 0.005495/0.01986, allocations: 2.166 MB / 0.7966 GB, free: 2.461 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.638984132092446]