Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001209/0.001209, allocations: 115.1 kB / 16.42 MB, free: 6.441 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.001224/0.001224, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.441/1.441, 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 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 59.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9386/0.9401, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002394/0.9425, allocations: 0.8284 MB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.9441, allocations: 1.022 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.624e-05/0.9442, allocations: 4 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.9444, allocations: 7.875 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.794e-05/0.9444, allocations: 23.78 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.945, allocations: 87.77 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.9452, allocations: 119.7 kB / 1.211 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.9454, allocations: 61.06 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.9456, allocations: 51.78 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.573e-05/0.9457, allocations: 59.75 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.9457, allocations: 12 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.9459, allocations: 91.91 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.946, allocations: 39.84 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.946, allocations: 63.59 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.9464, allocations: 207 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9464, allocations: 8 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9464, allocations: 0 / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.9464, allocations: 0 / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0009129/0.9473, allocations: 492.6 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.9474, allocations: 15.91 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.9474, allocations: 16.75 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.9477, allocations: 208 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.9477, allocations: 8.312 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.9477, allocations: 12.38 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005999/0.9483, allocations: 202 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.9484, allocations: 192 / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.9484, allocations: 7.922 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.9484, allocations: 4 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007592/0.9492, allocations: 219.8 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.9502, allocations: 0.5274 MB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.9507, allocations: 174.5 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.9511, allocations: 152.8 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-05/0.9512, allocations: 7.984 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.9512, allocations: 42.5 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 2.384e-06/0.9512, allocations: 4 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001444/0.9527, allocations: 474.3 kB / 1.214 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.9527, allocations: 51.41 kB / 1.214 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.9529, allocations: 156.2 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.9529, allocations: 29.7 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.953, allocations: 108.5 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/0.953, allocations: 70.94 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.9531, allocations: 37.7 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.9532, allocations: 326.8 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.9536, allocations: 127.9 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.954, allocations: 139.4 kB / 1.215 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007677/0.9548, allocations: 296.5 kB / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.9548, allocations: 0 / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008584/0.9557, allocations: 337 kB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.9557, allocations: 4 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.9557, allocations: 0 / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.9558, allocations: 4 kB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.956, allocations: 31.95 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.956, allocations: 3.938 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.9562, allocations: 47.8 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.9563, allocations: 0 / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.9564, allocations: 145.7 kB / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.9565, allocations: 11.91 kB / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000965/0.9574, allocations: 354.5 kB / 1.216 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.9575, allocations: 3.984 kB / 1.216 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.9575, allocations: 0 / 1.216 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.9575, allocations: 104.7 kB / 1.216 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.9576, allocations: 4 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.9578, allocations: 31.95 kB / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.9579, allocations: 15.97 kB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001075/0.959, allocations: 436.6 kB / 1.216 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009515/0.9599, allocations: 0.5093 MB / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004217/0.9604, allocations: 163.9 kB / 1.217 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.513e-05/0.9604, allocations: 113.7 kB / 1.217 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of Backend: time 5.11e-07/0.9604, allocations: 0 / 1.217 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.9615, allocations: 335.5 kB / 1.217 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001083/0.9626, allocations: 0.7968 MB / 1.218 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of Templates: time 0.007324/0.97, allocations: 2.446 MB / 1.221 GB, free: 0.9453 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches