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.001597/0.001597, allocations: 114.3 kB / 16.42 MB, free: 6.504 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.001586/0.001586, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.46/1.46, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.472/2.472, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9485/0.9499, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002009/0.9519, allocations: 0.8302 MB / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.9535, allocations: 1.02 MB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.9535, allocations: 0 / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.9536, allocations: 11.88 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.052e-05/0.9537, allocations: 19.8 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.9541, allocations: 95.77 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.9543, allocations: 123.6 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.9545, allocations: 45.38 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.9546, allocations: 51.84 kB / 1.17 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.9546, allocations: 59.75 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.9547, allocations: 8 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.9548, allocations: 95.84 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.9549, allocations: 35.91 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.955, allocations: 59.59 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.9552, allocations: 195.8 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9552, allocations: 0 / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9553, allocations: 0 / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.9553, allocations: 0 / 1.17 GB, free: 1.168 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.000844/0.9561, allocations: 490.5 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.9562, allocations: 8.922 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.9562, allocations: 16.84 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.9564, allocations: 206.6 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.9565, allocations: 4.375 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.9565, allocations: 4.375 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.957, allocations: 182.1 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.957, allocations: 192 / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.957, allocations: 11.94 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.9571, allocations: 11.98 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007002/0.9578, allocations: 211.7 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009166/0.9587, allocations: 448.5 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.9591, allocations: 142.4 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.9595, allocations: 132.8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.9595, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.9596, allocations: 30.56 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.9596, allocations: 0 / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.001214/0.9608, allocations: 397.4 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.9608, allocations: 55.34 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.961, allocations: 146.1 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.961, allocations: 29.7 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.9611, allocations: 112.3 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.9611, allocations: 59.53 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.9612, allocations: 21.72 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.9613, allocations: 326.8 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.9617, allocations: 115.9 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.962, allocations: 110 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.9627, allocations: 240.6 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9627, allocations: 3.938 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007432/0.9634, allocations: 288.3 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.9635, allocations: 10.44 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.9635, allocations: 4 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.9635, allocations: 0 / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.9637, allocations: 35.95 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.9637, allocations: 0 / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.9639, allocations: 35.89 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.964, allocations: 0 / 1.174 GB, free: 13.14 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.0001202/0.9641, allocations: 133.8 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.9641, allocations: 11.91 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.9642, allocations: 16.83 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.9642, allocations: 4 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.9642, allocations: 0 / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.9643, allocations: 96.89 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.9643, allocations: 0 / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.9645, allocations: 31.95 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.9646, allocations: 11.98 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009053/0.9655, allocations: 384.6 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008349/0.9663, allocations: 458.4 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000356/0.9667, allocations: 123.9 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.195e-05/0.9668, allocations: 114.1 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of Backend: time 6.01e-07/0.9668, allocations: 0 / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008692/0.9677, allocations: 238.2 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008308/0.9685, allocations: 0.6985 MB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.005366/0.9739, allocations: 2.366 MB / 1.178 GB, free: 8.402 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