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.0009349/0.0009349, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009424/0.0009424, allocations: 171.5 kB / 24.87 MB, free: 9.258 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 0.9778/0.9778, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.824/1.824, allocations: 359 MB / 0.6063 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] 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 1.964e-06/1.964e-06, allocations: 0 / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.597e-05, allocations: 7.5 kB / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001618/0.001644, allocations: 0.8359 MB / 0.7892 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.002789, allocations: 1.054 MB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.002855, allocations: 4.688 kB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.002979, allocations: 15.8 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-05/0.003027, allocations: 22.19 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.003471, allocations: 99.69 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.003613, allocations: 123.6 kB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.003741, allocations: 33.28 kB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.00383, allocations: 72.94 kB / 0.7906 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.714e-05/0.003887, allocations: 47.86 kB / 0.7906 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.003907, allocations: 8 kB / 0.7906 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.00404, allocations: 84.55 kB / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.004087, allocations: 45.25 kB / 0.7908 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.004126, allocations: 39.84 kB / 0.7908 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.004346, allocations: 175.3 kB / 0.791 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.004349, allocations: 0 / 0.791 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.052e-06/0.00435, allocations: 1.094 kB / 0.791 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.004357, allocations: 4 kB / 0.791 GB, free: 9.477 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.0004758/0.004832, allocations: 496.8 kB / 0.7914 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.004865, allocations: 15.97 kB / 0.7915 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.004907, allocations: 21.98 kB / 0.7915 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.005042, allocations: 150.4 kB / 0.7916 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.005053, allocations: 16.3 kB / 0.7916 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.005066, allocations: 9.625 kB / 0.7917 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.005255, allocations: 114.9 kB / 0.7918 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.005261, allocations: 1.781 kB / 0.7918 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.005271, allocations: 4.375 kB / 0.7918 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.005278, allocations: 4.375 kB / 0.7918 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.907e-05/0.005327, allocations: 27.92 kB / 0.7918 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.005762, allocations: 389.3 kB / 0.7922 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.661e-05/0.005829, allocations: 49.86 kB / 0.7922 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.005867, allocations: 33 kB / 0.7923 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.005907, allocations: 7.938 kB / 0.7923 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.005927, allocations: 41.31 kB / 0.7923 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.005929, allocations: 0 / 0.7923 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0002262/0.006155, allocations: 148.1 kB / 0.7924 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.006184, allocations: 55.41 kB / 0.7925 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.006286, allocations: 208.9 kB / 0.7927 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.006305, allocations: 25.7 kB / 0.7927 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.006366, allocations: 164.9 kB / 0.7929 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.006413, allocations: 67.38 kB / 0.7929 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.00647, allocations: 47.33 kB / 0.793 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.006601, allocations: 0.5078 MB / 0.7935 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.464e-05/0.006635, allocations: 12 kB / 0.7935 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-05/0.006665, allocations: 25.11 kB / 0.7935 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.8e-05/0.006743, allocations: 65.36 kB / 0.7936 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006745, allocations: 0 / 0.7936 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001383/0.006883, allocations: 117.3 kB / 0.7937 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.006895, allocations: 4 kB / 0.7937 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.006909, allocations: 4 kB / 0.7937 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.006918, allocations: 0 / 0.7937 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.007, allocations: 21.17 kB / 0.7937 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.007003, allocations: 0 / 0.7937 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.007058, allocations: 29.47 kB / 0.7937 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.007075, allocations: 0 / 0.7937 GB, free: 6.465 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 9.583e-05/0.007171, allocations: 174.3 kB / 0.7939 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.007197, allocations: 11.91 kB / 0.7939 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.007379, allocations: 146.8 kB / 0.7941 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.007382, allocations: 0 / 0.7941 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.007384, allocations: 0 / 0.7941 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007387, allocations: 0.8125 kB / 0.7941 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.00754, allocations: 161.1 kB / 0.7942 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.007548, allocations: 8.469 kB / 0.7942 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.00761, allocations: 20.64 kB / 0.7942 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.007612, allocations: 4 kB / 0.7942 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.007619, allocations: 0.5312 kB / 0.7942 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.00762, allocations: 1.312 kB / 0.7942 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007621, allocations: 0 / 0.7942 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.007805, allocations: 277.4 kB / 0.7945 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.007822, allocations: 19.8 kB / 0.7945 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.007834, allocations: 4.531 kB / 0.7945 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.21e-05/0.007896, allocations: 17.34 kB / 0.7946 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.007948, allocations: 15.98 kB / 0.7946 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.007959, allocations: 4 kB / 0.7946 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.008013, allocations: 147.5 kB / 0.7947 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.008013, allocations: 0 / 0.7947 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002145/0.008228, allocations: 43.94 kB / 0.7948 GB, free: 5.379 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.0001758/0.008403, allocations: 128.9 kB / 0.7949 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.008583, allocations: 140.4 kB / 0.795 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.008585, allocations: 0 / 0.795 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/0.008671, allocations: 126.3 kB / 0.7951 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.008896, allocations: 25.44 kB / 0.7952 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.009293, allocations: 289.1 kB / 0.7954 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.055e-05/0.009343, allocations: 80.08 kB / 0.7955 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.335e-05/0.009387, allocations: 11.36 kB / 0.7955 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.009475, allocations: 98.17 kB / 0.7956 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.009476, allocations: 0 / 0.7956 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of Templates: time 0.004381/0.01386, allocations: 2.435 MB / 0.798 GB, free: 2.035 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.172183025162667]