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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 108.6 kB / 16.4 MB, free: 6.512 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 199.8 kB / 19.35 MB, free: 3.734 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 437 MB / 0.717 GB, free: 4.121 MB / 0.5762 GB [Timeout remaining time 87] 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=502,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=502,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.002674/0.002674, allocations: 67.89 kB / 1.027 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.147, allocations: 151.6 MB / 1.175 GB, free: 17.89 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002151/1.149, allocations: 0.8349 MB / 1.176 GB, free: 17.36 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001615/1.151, allocations: 1.011 MB / 1.177 GB, free: 16.61 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-05/1.151, allocations: 3.938 kB / 1.177 GB, free: 16.61 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/1.151, allocations: 11.91 kB / 1.177 GB, free: 16.6 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/1.151, allocations: 22.55 kB / 1.177 GB, free: 16.58 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/1.152, allocations: 85.39 kB / 1.177 GB, free: 16.55 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/1.152, allocations: 129.3 kB / 1.177 GB, free: 16.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/1.152, allocations: 44.38 kB / 1.177 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/1.152, allocations: 51.45 kB / 1.177 GB, free: 16.44 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/1.153, allocations: 58.64 kB / 1.177 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/1.153, allocations: 13.16 kB / 1.177 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/1.153, allocations: 95.36 kB / 1.177 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/1.153, allocations: 36.44 kB / 1.178 GB, free: 16.36 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.448e-05/1.153, allocations: 55.23 kB / 1.178 GB, free: 16.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/1.153, allocations: 197.2 kB / 1.178 GB, free: 16.25 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.153, allocations: 0 / 1.178 GB, free: 16.25 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.585e-06/1.153, allocations: 1.438 kB / 1.178 GB, free: 16.25 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.007e-06/1.153, allocations: 0 / 1.178 GB, free: 16.25 MB / 0.92 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.001061/1.155, allocations: 489.8 kB / 1.178 GB, free: 15.82 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.724e-05/1.155, allocations: 9.875 kB / 1.178 GB, free: 15.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.279e-05/1.155, allocations: 15.62 kB / 1.178 GB, free: 15.82 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/1.155, allocations: 205.4 kB / 1.178 GB, free: 15.6 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/1.155, allocations: 6.406 kB / 1.178 GB, free: 15.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/1.155, allocations: 5.188 kB / 1.178 GB, free: 15.59 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/1.156, allocations: 185.2 kB / 1.179 GB, free: 15.53 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/1.156, allocations: 192 / 1.179 GB, free: 15.53 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/1.156, allocations: 5.594 kB / 1.179 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.34e-05/1.156, allocations: 11.61 kB / 1.179 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009436/1.157, allocations: 204 kB / 1.179 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/1.158, allocations: 463 kB / 1.179 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/1.159, allocations: 139.2 kB / 1.179 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/1.159, allocations: 132.5 kB / 1.18 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/1.159, allocations: 1.344 kB / 1.18 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.159, allocations: 32.66 kB / 1.18 GB, free: 15.03 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/1.159, allocations: 0 / 1.18 GB, free: 15.03 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.00162/1.161, allocations: 395.4 kB / 1.18 GB, free: 14.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/1.161, allocations: 57.59 kB / 1.18 GB, free: 14.86 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/1.161, allocations: 151.9 kB / 1.18 GB, free: 14.74 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/1.161, allocations: 29.7 kB / 1.18 GB, free: 14.71 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.304e-05/1.161, allocations: 113.6 kB / 1.18 GB, free: 14.6 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/1.161, allocations: 54.47 kB / 1.18 GB, free: 14.55 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/1.161, allocations: 26.94 kB / 1.18 GB, free: 14.53 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.162, allocations: 323.2 kB / 1.181 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/1.162, allocations: 115.8 kB / 1.181 GB, free: 14.19 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/1.163, allocations: 107.5 kB / 1.181 GB, free: 14.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008289/1.163, allocations: 238.9 kB / 1.181 GB, free: 14.12 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.163, allocations: 1.469 kB / 1.181 GB, free: 14.12 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008772/1.164, allocations: 285.9 kB / 1.181 GB, free: 14.04 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.164, allocations: 6.141 kB / 1.181 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.164, allocations: 0 / 1.181 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.164, allocations: 4.875 kB / 1.181 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/1.165, allocations: 38.14 kB / 1.181 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.165, allocations: 2 kB / 1.181 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/1.165, allocations: 36.33 kB / 1.181 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/1.165, allocations: 2.875 kB / 1.181 GB, free: 14.02 MB / 0.92 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.0001252/1.165, allocations: 129.5 kB / 1.182 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/1.165, allocations: 13.69 kB / 1.182 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/1.165, allocations: 12.88 kB / 1.182 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/1.165, allocations: 12.48 kB / 1.182 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.165, allocations: 1.656 kB / 1.182 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.165, allocations: 4.781 kB / 1.182 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/1.166, allocations: 224.5 kB / 1.182 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.166, allocations: 1.125 kB / 1.182 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/1.166, allocations: 42.31 kB / 1.182 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.166, allocations: 0 / 1.182 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/1.166, allocations: 1.656 kB / 1.182 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.166, allocations: 1.312 kB / 1.182 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.166, allocations: 0.75 kB / 1.182 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/1.167, allocations: 383.2 kB / 1.182 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/1.167, allocations: 93.52 kB / 1.182 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/1.167, allocations: 1.906 kB / 1.182 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/1.167, allocations: 39.58 kB / 1.182 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/1.167, allocations: 20.62 kB / 1.182 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/1.167, allocations: 2.062 kB / 1.182 GB, free: 13.33 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001052/1.167, allocations: 110.8 kB / 1.183 GB, free: 13.25 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.167, allocations: 5.188 kB / 1.183 GB, free: 13.25 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004076/1.168, allocations: 41.45 kB / 1.183 GB, free: 13.24 MB / 0.92 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.0003017/1.168, allocations: 112 kB / 1.183 GB, free: 13.15 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009626/1.169, allocations: 271.2 kB / 1.183 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.169, allocations: 0 / 1.183 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004383/1.17, allocations: 132.7 kB / 1.183 GB, free: 13.06 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/1.17, allocations: 22.89 kB / 1.183 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/1.171, allocations: 329.2 kB / 1.183 GB, free: 12.85 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/1.171, allocations: 0.7245 MB / 1.184 GB, free: 12.15 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.438e-05/1.171, allocations: 15.11 kB / 1.184 GB, free: 12.15 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/1.171, allocations: 12.55 kB / 1.184 GB, free: 12.14 MB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/1.171, allocations: 3.938 kB / 1.184 GB, free: 12.14 MB / 0.92 GB Notification: Performance of Templates: time 0.00613/1.177, allocations: 1.907 MB / 1.186 GB, free: 12 MB / 0.92 GB [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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