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.001492/0.001492, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001027/0.001027, allocations: 169 kB / 24.28 MB, free: 284 kB / 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.044/1.044, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.87/1.87, allocations: 359 MB / 0.6055 GB, free: 11 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 3.948e-06/3.948e-06, allocations: 0 / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.454e-05/3.848e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002625/0.002663, allocations: 0.8293 MB / 0.788 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.004295, allocations: 1.063 MB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.004386, allocations: 4 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.004521, allocations: 11.88 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.116e-05/0.004592, allocations: 24.95 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.00519, allocations: 91.75 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.005401, allocations: 136.1 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.005585, allocations: 29.28 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.005743, allocations: 68.56 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.894e-05/0.005832, allocations: 47.88 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.005864, allocations: 12.91 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.006055, allocations: 87.84 kB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.006125, allocations: 40.5 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.712e-05/0.006192, allocations: 39.84 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.006529, allocations: 181 kB / 0.7898 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.006534, allocations: 0 / 0.7898 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/0.006536, allocations: 0 / 0.7898 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.006543, allocations: 0 / 0.7898 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.0007963/0.007339, allocations: 0.4914 MB / 0.7903 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.007398, allocations: 8.031 kB / 0.7903 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.007486, allocations: 24.8 kB / 0.7903 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.007728, allocations: 154.3 kB / 0.7904 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.007746, allocations: 8.375 kB / 0.7904 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.007769, allocations: 8.375 kB / 0.7904 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.008137, allocations: 121.3 kB / 0.7906 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.008149, allocations: 4.172 kB / 0.7906 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.008167, allocations: 6.031 kB / 0.7906 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.008182, allocations: 12.3 kB / 0.7906 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.00829, allocations: 27.94 kB / 0.7906 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.009047, allocations: 432.1 kB / 0.791 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.009157, allocations: 44.09 kB / 0.7911 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.009232, allocations: 35.67 kB / 0.7911 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.501e-05/0.009297, allocations: 8 kB / 0.7911 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.009329, allocations: 34.73 kB / 0.7911 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 3.306e-06/0.009332, allocations: 0 / 0.7911 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0004271/0.009759, allocations: 171.8 kB / 0.7913 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.009805, allocations: 52.09 kB / 0.7914 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.009979, allocations: 208.3 kB / 0.7916 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.009997, allocations: 26.95 kB / 0.7916 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.01008, allocations: 159.2 kB / 0.7917 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/0.01015, allocations: 71.45 kB / 0.7918 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.01023, allocations: 44.17 kB / 0.7918 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.01039, allocations: 0.504 MB / 0.7923 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.684e-05/0.01046, allocations: 21.77 kB / 0.7924 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.652e-05/0.01052, allocations: 20 kB / 0.7924 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.01067, allocations: 83.33 kB / 0.7924 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01067, allocations: 3.938 kB / 0.7925 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002355/0.0109, allocations: 121.5 kB / 0.7926 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.01093, allocations: 4.625 kB / 0.7926 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.01095, allocations: 0 / 0.7926 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.01097, allocations: 4.688 kB / 0.7926 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.01114, allocations: 20.5 kB / 0.7926 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.01115, allocations: 5.156 kB / 0.7926 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.736e-05/0.01123, allocations: 19.88 kB / 0.7926 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.01126, allocations: 4.531 kB / 0.7926 GB, free: 6.969 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.0001505/0.01141, allocations: 173.7 kB / 0.7928 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.01146, allocations: 11.91 kB / 0.7928 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.01179, allocations: 157.3 kB / 0.793 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.0118, allocations: 4 kB / 0.793 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.0118, allocations: 0 / 0.793 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.01181, allocations: 4.953 kB / 0.793 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.01206, allocations: 176.4 kB / 0.7931 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.01207, allocations: 4.75 kB / 0.7931 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.01218, allocations: 24.97 kB / 0.7932 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.01218, allocations: 0 / 0.7932 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.01219, allocations: 0 / 0.7932 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.0122, allocations: 1.156 kB / 0.7932 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.0122, allocations: 4 kB / 0.7932 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.01252, allocations: 287.2 kB / 0.7934 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.01254, allocations: 20.7 kB / 0.7935 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.01257, allocations: 4 kB / 0.7935 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.01269, allocations: 18.2 kB / 0.7935 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.861e-05/0.01279, allocations: 19.95 kB / 0.7935 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.0128, allocations: 4 kB / 0.7935 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000236/0.01304, allocations: 151.2 kB / 0.7936 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01304, allocations: 0 / 0.7936 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003764/0.01342, allocations: 39.94 kB / 0.7937 GB, free: 5.828 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.0002907/0.01371, allocations: 124.3 kB / 0.7938 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.01403, allocations: 155 kB / 0.7939 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01403, allocations: 0 / 0.7939 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.01416, allocations: 119.1 kB / 0.7941 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.01457, allocations: 37.31 kB / 0.7941 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/0.01525, allocations: 296.9 kB / 0.7944 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.703e-05/0.01534, allocations: 83.47 kB / 0.7945 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.602e-05/0.01542, allocations: 13.02 kB / 0.7945 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.01548, allocations: 20.5 kB / 0.7945 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of SimCode: time 1.163e-06/0.01548, allocations: 0.6562 kB / 0.7945 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of Templates: time 0.006729/0.02221, allocations: 2.166 MB / 0.7966 GB, free: 2.801 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.458903980907053]