Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.457/2.457, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001974/0.001974, allocations: 170.9 kB / 0.4902 GB, free: 2.246 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.617/1.617, allocations: 223.2 MB / 0.7992 GB, free: 14.72 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.001089/0.001089, allocations: 106.5 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.000491, allocations: 14.16 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3215, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.5195, allocations: 150 MB / 1.376 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.5199, allocations: 71.95 kB / 1.376 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01015/0.5301, allocations: 3.551 MB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5301, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.503e-05/0.5302, allocations: 4 kB / 1.379 GB, free: 15.87 MB / 0.8855 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.0008992/0.5311, allocations: 498.6 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.5311, allocations: 12.56 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.5312, allocations: 15.81 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.5314, allocations: 202.8 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.5315, allocations: 11.98 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.5315, allocations: 11.98 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.5321, allocations: 203.3 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5321, allocations: 0 / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.5321, allocations: 0 / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.5321, allocations: 4 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.5329, allocations: 251.8 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009822/0.5339, allocations: 0.5235 MB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.5343, allocations: 166.4 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.5344, allocations: 0 / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.5344, allocations: 34.56 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.5344, allocations: 0 / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.00147/0.5359, allocations: 0.6245 MB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.536, allocations: 55.39 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.5361, allocations: 132.7 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.5361, allocations: 29.7 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.5362, allocations: 116.2 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.5362, allocations: 43.27 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.5362, allocations: 0 / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5363, allocations: 326.8 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.5367, allocations: 139.9 kB / 1.383 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.5371, allocations: 131.9 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.5375, allocations: 150.4 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.5375, allocations: 3.938 kB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008229/0.5383, allocations: 329.3 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.5384, allocations: 5.094 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.5384, allocations: 3.984 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5384, allocations: 11.94 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.5387, allocations: 43.95 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.5387, allocations: 0 / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.5389, allocations: 55.8 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.5389, allocations: 4 kB / 1.383 GB, free: 11.54 MB / 0.8855 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.0001076/0.5391, allocations: 126.5 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.5391, allocations: 11.86 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008961/0.54, allocations: 370.2 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.54, allocations: 0 / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.54, allocations: 0 / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.54, allocations: 4 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.5403, allocations: 241.5 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.5403, allocations: 11.95 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.5405, allocations: 55.88 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5405, allocations: 0 / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.5406, allocations: 0 / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5406, allocations: 0 / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5406, allocations: 4 kB / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.5414, allocations: 425.5 kB / 1.384 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.5415, allocations: 92.91 kB / 1.385 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.5415, allocations: 0 / 1.385 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.5417, allocations: 47.95 kB / 1.385 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.5418, allocations: 15.98 kB / 1.385 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.5418, allocations: 4 kB / 1.385 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.249e-05/0.5419, allocations: 109.3 kB / 1.385 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5419, allocations: 4 kB / 1.385 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002891/0.5422, allocations: 43.84 kB / 1.385 GB, free: 9.914 MB / 0.8855 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.0002321/0.5424, allocations: 128 kB / 1.385 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008896/0.5433, allocations: 371.1 kB / 1.385 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.5433, allocations: 4 kB / 1.385 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.5438, allocations: 227.2 kB / 1.385 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.544, allocations: 15.98 kB / 1.385 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.5445, allocations: 326.1 kB / 1.386 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5448, allocations: 0.7201 MB / 1.386 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.504e-05/0.5449, allocations: 19.97 kB / 1.386 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.5449, allocations: 11.44 kB / 1.386 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5449, allocations: 3.938 kB / 1.386 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of Templates: time 0.003905/0.5488, allocations: 1.589 MB / 1.388 GB, free: 6.449 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches