Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 117.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.811/2.811, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.",fileNamePrefix="Buildings_10_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.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 68.08 kB / 1.057 GB, free: 1.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3066, allocations: 160.7 MB / 1.214 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002067/0.3086, allocations: 0.8307 MB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3099, allocations: 1.018 MB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.31, allocations: 3.938 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.3101, allocations: 11.88 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.285e-05/0.3102, allocations: 31.72 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.3105, allocations: 79.84 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3107, allocations: 119.7 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.3109, allocations: 49.3 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.109e-05/0.311, allocations: 47.89 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.642e-05/0.311, allocations: 63.75 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.3111, allocations: 12 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.3112, allocations: 87.84 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.3113, allocations: 35.86 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.3114, allocations: 59.66 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.3116, allocations: 195.1 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3116, allocations: 0 / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3116, allocations: 0 / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3116, allocations: 0 / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008806/0.3125, allocations: 486.6 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3126, allocations: 12.03 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.3126, allocations: 12.84 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3128, allocations: 216 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3128, allocations: 4.375 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.3129, allocations: 8.375 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.3134, allocations: 182.1 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3134, allocations: 192 / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.3134, allocations: 3.938 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/0.3135, allocations: 19.98 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/0.3142, allocations: 195.8 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009542/0.3152, allocations: 464.4 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.3156, allocations: 134.4 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.316, allocations: 120.8 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3161, allocations: 0 / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.3161, allocations: 30.56 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.3161, allocations: 4 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.001313/0.3174, allocations: 397.2 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.3175, allocations: 55.41 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3176, allocations: 156.1 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3176, allocations: 25.7 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.3177, allocations: 108.5 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.3178, allocations: 55.59 kB / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.3178, allocations: 29.64 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.318, allocations: 326.8 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.3184, allocations: 107.9 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.3188, allocations: 115.9 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007796/0.3195, allocations: 239.5 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3195, allocations: 4 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008492/0.3204, allocations: 269.4 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3204, allocations: 12 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3204, allocations: 0 / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3204, allocations: 0 / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.3207, allocations: 39.89 kB / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3207, allocations: 0 / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3208, allocations: 39.83 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.3209, allocations: 4 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0001147/0.321, allocations: 133.8 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.321, allocations: 11.91 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.3211, allocations: 16.84 kB / 1.221 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.3211, allocations: 11.98 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3211, allocations: 0 / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3211, allocations: 3.938 kB / 1.221 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.3214, allocations: 229.5 kB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3214, allocations: 0 / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.3216, allocations: 35.95 kB / 1.221 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3216, allocations: 4 kB / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3216, allocations: 0 / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3216, allocations: 0 / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3216, allocations: 0 / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009136/0.3225, allocations: 385.4 kB / 1.221 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.3226, allocations: 92.95 kB / 1.221 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.3226, allocations: 8 kB / 1.221 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.3228, allocations: 31.95 kB / 1.221 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.3229, allocations: 15.92 kB / 1.221 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3229, allocations: 4 kB / 1.221 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.289e-05/0.323, allocations: 113.5 kB / 1.221 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.323, allocations: 0 / 1.221 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002856/0.3233, allocations: 39.95 kB / 1.221 GB, free: 8.941 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0002255/0.3235, allocations: 127.1 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008847/0.3244, allocations: 251.7 kB / 1.222 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3244, allocations: 0 / 1.222 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.3248, allocations: 123.9 kB / 1.222 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.3251, allocations: 17.7 kB / 1.222 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.3257, allocations: 372.1 kB / 1.222 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3261, allocations: 0.7119 MB / 1.223 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.3262, allocations: 19.44 kB / 1.223 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3262, allocations: 0 / 1.223 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of Templates: time 0.004514/0.3307, allocations: 1.897 MB / 1.225 GB, free: 5.395 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.08868896518834]