Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.482/2.482, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 176.5 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 223.2 MB / 0.7949 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 94.53 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005495/0.0005498, allocations: 14.47 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2792, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.4626, allocations: 149.2 MB / 1.369 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.4628, allocations: 71.95 kB / 1.369 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01037/0.4732, allocations: 3.54 MB / 1.372 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4733, allocations: 4 kB / 1.372 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.4733, allocations: 0 / 1.372 GB, free: 9.242 MB / 0.8698 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.000876/0.4742, allocations: 0.4947 MB / 1.373 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4742, allocations: 8.031 kB / 1.373 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.4743, allocations: 11.81 kB / 1.373 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.4746, allocations: 206.8 kB / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.4746, allocations: 4 kB / 1.373 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.4746, allocations: 8 kB / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.4752, allocations: 209.5 kB / 1.373 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4752, allocations: 0 / 1.373 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.4752, allocations: 7.984 kB / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.4753, allocations: 3.984 kB / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.476, allocations: 247.8 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.477, allocations: 0.5314 MB / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.4775, allocations: 162.5 kB / 1.374 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/0.4775, allocations: 7.938 kB / 1.374 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.4776, allocations: 30.56 kB / 1.374 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 3.537e-06/0.4776, allocations: 0 / 1.374 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.001362/0.4789, allocations: 0.6243 MB / 1.375 GB, free: 6.496 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.479, allocations: 55.41 kB / 1.375 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4791, allocations: 128 kB / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.4791, allocations: 29.7 kB / 1.375 GB, free: 6.266 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.4792, allocations: 108.4 kB / 1.375 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.4793, allocations: 51.33 kB / 1.375 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-06/0.4793, allocations: 0 / 1.375 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4794, allocations: 330.8 kB / 1.375 GB, free: 5.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.4798, allocations: 135.8 kB / 1.375 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.4802, allocations: 139.9 kB / 1.376 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.4806, allocations: 146.4 kB / 1.376 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4806, allocations: 4 kB / 1.376 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008382/0.4814, allocations: 333.3 kB / 1.376 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.4815, allocations: 4.938 kB / 1.376 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.4815, allocations: 4 kB / 1.376 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4815, allocations: 0 / 1.376 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.4818, allocations: 47.95 kB / 1.376 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.4818, allocations: 4 kB / 1.376 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.482, allocations: 51.8 kB / 1.376 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.482, allocations: 7.984 kB / 1.376 GB, free: 4.906 MB / 0.8698 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: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.4822, allocations: 121.8 kB / 1.376 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.4822, allocations: 19.75 kB / 1.376 GB, free: 4.758 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009166/0.4831, allocations: 354.2 kB / 1.377 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.4832, allocations: 4 kB / 1.377 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4832, allocations: 3.984 kB / 1.377 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4832, allocations: 0 / 1.377 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.4835, allocations: 253.3 kB / 1.377 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.4835, allocations: 3.953 kB / 1.377 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.4837, allocations: 51.95 kB / 1.377 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4837, allocations: 0 / 1.377 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4837, allocations: 0 / 1.377 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4837, allocations: 0 / 1.377 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4837, allocations: 4 kB / 1.377 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008538/0.4846, allocations: 433.1 kB / 1.377 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.4847, allocations: 88.88 kB / 1.377 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.4847, allocations: 4 kB / 1.377 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.4849, allocations: 51.89 kB / 1.377 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.485, allocations: 11.97 kB / 1.377 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.485, allocations: 8 kB / 1.377 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.134e-05/0.4851, allocations: 113.4 kB / 1.378 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4851, allocations: 0 / 1.378 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003189/0.4854, allocations: 47.92 kB / 1.378 GB, free: 3.262 MB / 0.8698 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: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002456/0.4857, allocations: 127 kB / 1.378 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008658/0.4866, allocations: 367.5 kB / 1.378 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4866, allocations: 0 / 1.378 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.487, allocations: 223.4 kB / 1.378 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.4872, allocations: 24.14 kB / 1.378 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.4878, allocations: 326 kB / 1.379 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.4882, allocations: 0.7201 MB / 1.379 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.137e-05/0.4883, allocations: 23.91 kB / 1.379 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.4883, allocations: 11.44 kB / 1.379 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of SimCode: time 9.097e-06/0.4884, allocations: 0 / 1.379 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of Templates: time 0.004208/0.4926, allocations: 1.592 MB / 1.381 GB, free: 15.79 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches