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.001366/0.001366, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00182/0.00182, allocations: 192.6 kB / 16.14 MB, free: 6.711 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: 222.9 MB / 239.8 MB, free: 4.605 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.66/2.66, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001282, allocations: 75.88 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7023/0.7036, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002379/0.706, allocations: 0.8833 MB / 1.017 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.7074, allocations: 1.034 MB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.7075, allocations: 4 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.7076, allocations: 3.938 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.005e-05/0.7077, allocations: 15.84 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.7081, allocations: 71.88 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.7083, allocations: 111.7 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.7084, allocations: 53.36 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.572e-05/0.7085, allocations: 55.77 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.122e-05/0.7086, allocations: 51.77 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.7087, allocations: 4 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.7088, allocations: 63.89 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.7088, allocations: 31.91 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.7089, allocations: 55.59 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.7092, allocations: 181.4 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.7092, allocations: 4 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.41e-07/0.7092, allocations: 0 / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.7092, allocations: 0 / 1.019 GB, free: 200 kB / 0.7637 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.0008848/0.7101, allocations: 478.8 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.7102, allocations: 8.031 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.7102, allocations: 20.75 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.7105, allocations: 211.8 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.7105, allocations: 8.375 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.7105, allocations: 12.31 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.7111, allocations: 183.6 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.7111, allocations: 192 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.7111, allocations: 7.938 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.7111, allocations: 12 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007125/0.7119, allocations: 203.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009778/0.7129, allocations: 456.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.7133, allocations: 150.3 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/0.7137, allocations: 120.8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.7137, allocations: 8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.7137, allocations: 34.56 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.7137, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.001294/0.715, allocations: 393.2 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.7151, allocations: 51.41 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.7152, allocations: 147.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.7153, allocations: 33.64 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.7153, allocations: 112.4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.7154, allocations: 55.27 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.7155, allocations: 21.72 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.7156, allocations: 326.8 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.716, allocations: 115.9 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.7163, allocations: 114.8 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007178/0.7171, allocations: 236.6 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7171, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008125/0.7179, allocations: 273.4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.7179, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7179, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.718, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.7182, allocations: 47.89 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.7182, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.7184, allocations: 39.73 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.7185, allocations: 4 kB / 1.023 GB, free: 12.16 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.0001159/0.7186, allocations: 131.9 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.7186, allocations: 15.81 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.7187, allocations: 12.83 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.7187, allocations: 12 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.7187, allocations: 3.938 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7187, allocations: 7.922 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.719, allocations: 221.6 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.719, allocations: 0 / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.7192, allocations: 35.95 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7192, allocations: 0 / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.7193, allocations: 7.984 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.7193, allocations: 4 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7193, allocations: 8 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008802/0.7202, allocations: 384.1 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.7202, allocations: 85.02 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.7203, allocations: 3.984 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.7205, allocations: 27.95 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.7206, allocations: 15.92 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.7206, allocations: 4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.682e-05/0.7207, allocations: 113.7 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7207, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003239/0.7211, allocations: 47.84 kB / 1.024 GB, free: 10.96 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.0002817/0.7213, allocations: 119.2 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008753/0.7222, allocations: 251.7 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7222, allocations: 4 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.7227, allocations: 136.3 kB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.7231, allocations: 20.62 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.7237, allocations: 368.8 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.724, allocations: 0.7199 MB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.182e-05/0.7241, allocations: 23.92 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.7242, allocations: 11.44 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.7242, allocations: 0 / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of Templates: time 0.00474/0.7289, allocations: 1.561 MB / 1.027 GB, free: 7.719 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