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.00166/0.00166, allocations: 109.5 kB / 16.42 MB, free: 6.512 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.002489/0.002489, allocations: 187.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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.15 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.62/2.62, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 75.83 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.051, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002374/1.054, allocations: 0.829 MB / 1.168 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001718/1.056, allocations: 1.013 MB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/1.056, allocations: 0 / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/1.056, allocations: 19.8 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/1.056, allocations: 19.8 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/1.056, allocations: 87.83 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002092/1.057, allocations: 123.6 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/1.057, allocations: 49.38 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/1.057, allocations: 47.84 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.578e-05/1.057, allocations: 55.81 kB / 1.17 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/1.057, allocations: 15.94 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/1.057, allocations: 95.84 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/1.058, allocations: 31.91 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/1.058, allocations: 51.67 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003358/1.058, allocations: 199.1 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.058, allocations: 0 / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.685e-06/1.058, allocations: 8 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.354e-05/1.058, allocations: 0 / 1.17 GB, free: 1.195 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.001006/1.059, allocations: 480.6 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/1.059, allocations: 8.922 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/1.059, allocations: 12.75 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/1.059, allocations: 209.8 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/1.059, allocations: 16.31 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/1.059, allocations: 4.375 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/1.06, allocations: 182.1 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.06, allocations: 192 / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/1.06, allocations: 3.938 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.814e-05/1.06, allocations: 19.98 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007336/1.061, allocations: 199.9 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009776/1.062, allocations: 456.3 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/1.062, allocations: 146.4 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/1.063, allocations: 132.7 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/1.063, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/1.063, allocations: 34.56 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/1.063, allocations: 0 / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.00127/1.064, allocations: 390.8 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/1.064, allocations: 51.41 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/1.064, allocations: 145 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/1.064, allocations: 29.7 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/1.064, allocations: 116.3 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/1.064, allocations: 47.42 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/1.065, allocations: 25.7 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.065, allocations: 326.8 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/1.065, allocations: 115.8 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/1.065, allocations: 115.8 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007291/1.066, allocations: 239.6 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.066, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008927/1.067, allocations: 289.2 kB / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.067, allocations: 4 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.067, allocations: 0 / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.067, allocations: 4 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/1.067, allocations: 31.95 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/1.067, allocations: 4.172 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/1.068, allocations: 43.83 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/1.068, allocations: 3.984 kB / 1.174 GB, free: 13.17 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.0001373/1.068, allocations: 128 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/1.068, allocations: 15.81 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/1.068, allocations: 8.844 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.068, allocations: 0 / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.068, allocations: 3.984 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/1.068, allocations: 92.95 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/1.068, allocations: 11.98 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/1.068, allocations: 27.95 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/1.068, allocations: 11.98 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009892/1.069, allocations: 380.6 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009727/1.07, allocations: 468.2 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004551/1.071, allocations: 131.9 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.42e-05/1.071, allocations: 111.2 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of Backend: time 8.42e-07/1.071, allocations: 0 / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001033/1.072, allocations: 237 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00114/1.073, allocations: 0.6987 MB / 1.176 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of Templates: time 0.006713/1.08, allocations: 2.36 MB / 1.178 GB, free: 8.441 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