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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001176, allocations: 106.3 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 185.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 67.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.069, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002466/1.072, allocations: 0.8316 MB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001597/1.074, allocations: 1.021 MB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.715e-05/1.074, allocations: 0 / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/1.074, allocations: 11.81 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.575e-05/1.074, allocations: 27.78 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/1.074, allocations: 75.84 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/1.075, allocations: 123.6 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/1.075, allocations: 57.38 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/1.075, allocations: 51.83 kB / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/1.075, allocations: 51.83 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/1.075, allocations: 12 kB / 1.17 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/1.075, allocations: 95.78 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/1.075, allocations: 31.91 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/1.075, allocations: 55.67 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003656/1.076, allocations: 195.7 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.076, allocations: 0 / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.675e-06/1.076, allocations: 0 / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.076, allocations: 4 kB / 1.17 GB, free: 1.16 MB / 0.8887 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.0009667/1.077, allocations: 486.5 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.077, allocations: 12.92 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/1.077, allocations: 16.83 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/1.077, allocations: 209.1 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/1.077, allocations: 8.359 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/1.077, allocations: 12.38 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/1.078, allocations: 180.3 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.078, allocations: 192 / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/1.078, allocations: 3.938 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/1.078, allocations: 16 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/1.079, allocations: 199.8 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009782/1.08, allocations: 460.4 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/1.08, allocations: 142.5 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/1.08, allocations: 124.8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/1.08, allocations: 3.938 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/1.08, allocations: 38.55 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 2.315e-06/1.081, allocations: 4 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.00126/1.082, allocations: 393.4 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/1.082, allocations: 51.41 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/1.082, allocations: 156.3 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/1.082, allocations: 25.7 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/1.082, allocations: 112.4 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/1.082, allocations: 51.59 kB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/1.082, allocations: 25.72 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.082, allocations: 326.8 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/1.083, allocations: 107.9 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/1.083, allocations: 119.8 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/1.084, allocations: 241.8 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.084, allocations: 0 / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008243/1.085, allocations: 279.4 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/1.085, allocations: 7.938 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.085, allocations: 0 / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.085, allocations: 4 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/1.085, allocations: 31.95 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.085, allocations: 0 / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/1.085, allocations: 47.83 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/1.085, allocations: 0 / 1.174 GB, free: 13.12 MB / 0.9044 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.0001393/1.085, allocations: 121.8 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/1.085, allocations: 15.91 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.06e-05/1.085, allocations: 16.83 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/1.086, allocations: 8 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.086, allocations: 0 / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/1.086, allocations: 7.922 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/1.086, allocations: 237.5 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.086, allocations: 0 / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/1.086, allocations: 39.89 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.086, allocations: 0 / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/1.086, allocations: 0 / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/1.086, allocations: 7.984 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.086, allocations: 0 / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008882/1.087, allocations: 379.2 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/1.087, allocations: 96.94 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/1.087, allocations: 4 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/1.087, allocations: 27.95 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/1.087, allocations: 19.91 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/1.087, allocations: 4 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.33e-05/1.088, allocations: 110.3 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.088, allocations: 0 / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003065/1.088, allocations: 43.92 kB / 1.175 GB, free: 11.91 MB / 0.9044 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.0002995/1.088, allocations: 115.2 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008675/1.089, allocations: 260 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.089, allocations: 0 / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003967/1.089, allocations: 131.9 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/1.09, allocations: 28.27 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/1.091, allocations: 360.1 kB / 1.176 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/1.091, allocations: 0.7235 MB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/1.091, allocations: 19.44 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of SimCode: time 3.8e-07/1.091, allocations: 0 / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.004032/1.095, allocations: 1.891 MB / 1.178 GB, free: 8.355 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches