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.001002/0.001002, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008616/0.008617, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.698/2.698, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 15.98 kB / 0.8729 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.702/0.7024, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001135/0.7036, allocations: 0.5445 MB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.7049, allocations: 1.018 MB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.705, allocations: 4 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.7051, allocations: 3.938 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.7052, allocations: 11.86 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.7055, allocations: 83.8 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.7057, allocations: 115.6 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.7058, allocations: 45.38 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.69e-05/0.7059, allocations: 43.83 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.706, allocations: 43.77 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.706, allocations: 7.984 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.7062, allocations: 63.89 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.7062, allocations: 23.92 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.7063, allocations: 77.31 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.7065, allocations: 177.4 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7065, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7065, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.7066, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 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.0008074/0.7074, allocations: 488.5 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.7074, allocations: 12.03 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.7075, allocations: 12.75 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.7077, allocations: 215.8 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.7077, allocations: 8.375 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.7077, allocations: 4.375 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.7083, allocations: 210 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.7083, allocations: 192 / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.7083, allocations: 7.938 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.7084, allocations: 15.94 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008188/0.7092, allocations: 263.8 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009357/0.7101, allocations: 480.4 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004659/0.7106, allocations: 170.4 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/0.7111, allocations: 156.8 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.7111, allocations: 7.938 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.7111, allocations: 34.56 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.7111, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.001414/0.7125, allocations: 479.2 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.7126, allocations: 55.41 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.7127, allocations: 149 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.7128, allocations: 25.7 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.7128, allocations: 112.4 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.7129, allocations: 51.33 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.713, allocations: 13.72 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.7131, allocations: 326.8 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.7136, allocations: 139.9 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.714, allocations: 143.8 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008306/0.7148, allocations: 296.6 kB / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7148, allocations: 3.938 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009019/0.7157, allocations: 331.7 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7158, allocations: 4 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7158, allocations: 240 / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.7158, allocations: 0 / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.7161, allocations: 55.95 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7161, allocations: 3.984 kB / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.7163, allocations: 55.73 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.7163, allocations: 4 kB / 1.029 GB, free: 9.113 MB / 0.7794 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.0001228/0.7164, allocations: 130.3 kB / 1.03 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.7165, allocations: 7.906 kB / 1.03 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.7165, allocations: 16.83 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.7166, allocations: 8 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7166, allocations: 0 / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.7166, allocations: 3.938 kB / 1.03 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.7169, allocations: 225.5 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7169, allocations: 4 kB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.7171, allocations: 51.89 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7171, allocations: 0 / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.7172, allocations: 4 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7172, allocations: 4 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.7172, allocations: 4 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009689/0.7182, allocations: 443 kB / 1.03 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.7182, allocations: 85.02 kB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.7183, allocations: 7.969 kB / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.7185, allocations: 39.97 kB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.7186, allocations: 19.91 kB / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.7186, allocations: 4 kB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.065e-05/0.7187, allocations: 112.5 kB / 1.03 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7187, allocations: 4 kB / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003195/0.719, allocations: 43.84 kB / 1.031 GB, free: 7.828 MB / 0.7794 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: 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 Backend phase and start with SimCode phase: time 0.0002557/0.7193, allocations: 119.2 kB / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009386/0.7202, allocations: 303.8 kB / 1.031 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7202, allocations: 4 kB / 1.031 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.7207, allocations: 163.8 kB / 1.031 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.7211, allocations: 15.98 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.7218, allocations: 379.5 kB / 1.031 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.7221, allocations: 0.7239 MB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.85e-05/0.7222, allocations: 19.95 kB / 1.032 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.7223, allocations: 11.44 kB / 1.032 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7223, allocations: 0 / 1.032 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of Templates: time 0.00472/0.727, allocations: 1.541 MB / 1.034 GB, free: 4.535 MB / 0.7794 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/jenkins/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