Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001038/0.001038, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001063/0.001063, allocations: 173 kB / 23.36 MB, free: 1.133 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.9996/0.9996, allocations: 177.1 MB / 203.8 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.532/2.532, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.337e-05, allocations: 4.562 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001247/0.00126, allocations: 0.8704 MB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.002495, allocations: 1.057 MB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.002543, allocations: 3.938 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.96e-05/0.002622, allocations: 15.8 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.036e-05/0.002663, allocations: 23.8 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.002985, allocations: 87.7 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.003109, allocations: 135.6 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.003206, allocations: 29.94 kB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.021e-05/0.003287, allocations: 71.86 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.768e-05/0.003334, allocations: 39.89 kB / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.003352, allocations: 16 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.003504, allocations: 99.89 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.003545, allocations: 39.84 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.003581, allocations: 39.84 kB / 0.8412 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.003768, allocations: 179.3 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.003771, allocations: 7.938 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003772, allocations: 0 / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003775, allocations: 0 / 0.8413 GB, free: 11.41 MB / 0.8073 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.0003418/0.004117, allocations: 364 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.004146, allocations: 20.61 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.004172, allocations: 12.94 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.004287, allocations: 142.1 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-06/0.004295, allocations: 8.375 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.004307, allocations: 8.359 kB / 0.8419 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.004481, allocations: 128.5 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.004488, allocations: 192 / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004497, allocations: 4.375 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.004502, allocations: 4.375 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.868e-05/0.004551, allocations: 40.42 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.004896, allocations: 289.6 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.374e-05/0.00496, allocations: 82.42 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.004992, allocations: 28.8 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.005028, allocations: 11.98 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.005045, allocations: 38.5 kB / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 9.32e-07/0.005046, allocations: 0 / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0001712/0.005218, allocations: 129.8 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.00524, allocations: 51.41 kB / 0.8426 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.005315, allocations: 162 kB / 0.8428 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.005327, allocations: 25.7 kB / 0.8428 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.005361, allocations: 104.5 kB / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.005404, allocations: 67.38 kB / 0.843 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.005442, allocations: 33.67 kB / 0.843 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.005516, allocations: 330.7 kB / 0.8433 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.473e-05/0.005551, allocations: 26.81 kB / 0.8434 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.005578, allocations: 22.41 kB / 0.8434 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.599e-05/0.005654, allocations: 77.91 kB / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005656, allocations: 4 kB / 0.8435 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001057/0.005761, allocations: 97.61 kB / 0.8435 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.005773, allocations: 8 kB / 0.8436 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.005783, allocations: 0 / 0.8436 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.005791, allocations: 0 / 0.8436 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.47e-05/0.005866, allocations: 23.92 kB / 0.8436 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.005869, allocations: 240 / 0.8436 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.005917, allocations: 23.88 kB / 0.8436 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.005936, allocations: 11.97 kB / 0.8436 GB, free: 8.918 MB / 0.8073 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.34e-05/0.00601, allocations: 124.6 kB / 0.8437 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.00603, allocations: 4 kB / 0.8437 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.00618, allocations: 138.8 kB / 0.8439 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.006183, allocations: 4 kB / 0.8439 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.006185, allocations: 0 / 0.8439 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.006187, allocations: 0 / 0.8439 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.006304, allocations: 117.7 kB / 0.844 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.006309, allocations: 4 kB / 0.844 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.006367, allocations: 31.86 kB / 0.844 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.006369, allocations: 0 / 0.844 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.006376, allocations: 4 kB / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006377, allocations: 0 / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006377, allocations: 0 / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.006526, allocations: 252.4 kB / 0.8443 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.006539, allocations: 23.72 kB / 0.8443 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.00655, allocations: 4 kB / 0.8443 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.006614, allocations: 15.98 kB / 0.8443 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.006655, allocations: 11.97 kB / 0.8443 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.006664, allocations: 12 kB / 0.8443 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.45e-05/0.006689, allocations: 31.27 kB / 0.8444 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006689, allocations: 3.938 kB / 0.8444 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001733/0.006862, allocations: 43.94 kB / 0.8444 GB, free: 8.059 MB / 0.8073 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.0001409/0.007003, allocations: 104.3 kB / 0.8445 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.007147, allocations: 128.2 kB / 0.8446 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.00715, allocations: 4 kB / 0.8446 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.356e-05/0.007224, allocations: 116.2 kB / 0.8447 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.007405, allocations: 31.97 kB / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.007773, allocations: 287.1 kB / 0.845 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.007819, allocations: 83.47 kB / 0.8451 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.007854, allocations: 11.98 kB / 0.8451 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.007936, allocations: 71.36 kB / 0.8452 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.007937, allocations: 0 / 0.8452 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of Templates: time 0.003815/0.01175, allocations: 2.058 MB / 0.8472 GB, free: 5.129 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.4348747208714485]