Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001594/0.001594, allocations: 84.8 kB / 20.75 MB, free: 3.738 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.001716/0.001716, allocations: 161.4 kB / 24.16 MB, free: 336 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.089/1.089, allocations: 177.2 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.029/2.029, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 0 / 0.7601 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.732e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.00281/0.002837, allocations: 0.8872 MB / 0.761 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.004233, allocations: 1.059 MB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.004291, allocations: 7.938 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.004398, allocations: 17.03 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.004446, allocations: 21.03 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.004767, allocations: 89.36 kB / 0.7622 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.004897, allocations: 130.7 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.005021, allocations: 29.94 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.202e-05/0.005113, allocations: 71.88 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.005169, allocations: 49.2 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.00519, allocations: 12 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.005325, allocations: 91.91 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.005373, allocations: 47.83 kB / 0.7626 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.005403, allocations: 33.11 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.005595, allocations: 183.3 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.005598, allocations: 0 / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005599, allocations: 1.25 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.005603, allocations: 0 / 0.7628 GB, free: 3.824 MB / 0.7136 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.0004489/0.006052, allocations: 368.8 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.006088, allocations: 11.97 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.006126, allocations: 17.45 kB / 0.7632 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.006271, allocations: 135.5 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.00628, allocations: 12.31 kB / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.006291, allocations: 4.375 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.00649, allocations: 127.2 kB / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.006499, allocations: 1.406 kB / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.00651, allocations: 4.375 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.006516, allocations: 384 / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.936e-05/0.006565, allocations: 34.31 kB / 0.7635 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.006953, allocations: 302.2 kB / 0.7638 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.339e-05/0.007017, allocations: 86.41 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.007052, allocations: 29.61 kB / 0.7639 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.007089, allocations: 7.984 kB / 0.7639 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.00711, allocations: 39.19 kB / 0.7639 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 9.91e-07/0.007111, allocations: 0 / 0.7639 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0001843/0.007295, allocations: 130.8 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.007322, allocations: 51.41 kB / 0.7641 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.0074, allocations: 153.8 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.007413, allocations: 25.7 kB / 0.7643 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.007448, allocations: 104.5 kB / 0.7644 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.007492, allocations: 72.06 kB / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.007529, allocations: 29.69 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.00768, allocations: 331.9 kB / 0.7648 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/0.00771, allocations: 22.83 kB / 0.7648 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.007737, allocations: 20.16 kB / 0.7648 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.252e-05/0.007809, allocations: 83.19 kB / 0.7649 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007811, allocations: 0 / 0.7649 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001047/0.007916, allocations: 100.1 kB / 0.765 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.007927, allocations: 4 kB / 0.765 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.007939, allocations: 4 kB / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.007952, allocations: 0 / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.008034, allocations: 27.06 kB / 0.765 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.008037, allocations: 0 / 0.765 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.008083, allocations: 27.81 kB / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.008099, allocations: 0 / 0.765 GB, free: 1.367 MB / 0.7136 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 7.228e-05/0.008171, allocations: 128.6 kB / 0.7652 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.008192, allocations: 9.484 kB / 0.7652 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.008341, allocations: 134.8 kB / 0.7653 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.008343, allocations: 0 / 0.7653 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.008345, allocations: 4 kB / 0.7653 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.008348, allocations: 3.25 kB / 0.7653 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.008459, allocations: 121.7 kB / 0.7654 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.008463, allocations: 0 / 0.7654 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.008521, allocations: 27.86 kB / 0.7655 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.008523, allocations: 0 / 0.7655 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.008531, allocations: 8 kB / 0.7655 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.008533, allocations: 3.984 kB / 0.7655 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.008533, allocations: 0 / 0.7655 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.00867, allocations: 241.9 kB / 0.7657 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.008684, allocations: 23.72 kB / 0.7657 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.008696, allocations: 8 kB / 0.7657 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.722e-05/0.008753, allocations: 15.97 kB / 0.7657 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.008796, allocations: 11.98 kB / 0.7658 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.008808, allocations: 4 kB / 0.7658 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.286e-05/0.008831, allocations: 36.81 kB / 0.7658 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.008831, allocations: 1.406 kB / 0.7658 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001482/0.008979, allocations: 39.95 kB / 0.7658 GB, free: 0.5156 MB / 0.7136 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.0001494/0.009128, allocations: 109.6 kB / 0.7659 GB, free: 412 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.009268, allocations: 139.2 kB / 0.7661 GB, free: 260 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.009272, allocations: 4.656 kB / 0.7661 GB, free: 256 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.77e-05/0.00934, allocations: 108.2 kB / 0.7662 GB, free: 132 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.009507, allocations: 26 kB / 0.7662 GB, free: 108 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.009871, allocations: 297.8 kB / 0.7665 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.009913, allocations: 82.7 kB / 0.7666 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.009944, allocations: 5.188 kB / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.01002, allocations: 71.36 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.01002, allocations: 0.6562 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.004055/0.01407, allocations: 2.032 MB / 0.7686 GB, free: 13.7 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.32122592208907]