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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001621/0.001621, allocations: 114.6 kB / 16.37 MB, free: 6.012 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.001671/0.001671, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.359/1.359, 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 10.1.0-maint.10.0.x/package.mo): time 2.515/2.515, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.69 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2974, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002114/0.2995, allocations: 0.8362 MB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3007, allocations: 1.006 MB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.3007, allocations: 0 / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.3008, allocations: 11.86 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.661e-05/0.3009, allocations: 19.8 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.3013, allocations: 87.77 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.3014, allocations: 115.7 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3016, allocations: 65.34 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.186e-05/0.3016, allocations: 47.78 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.3017, allocations: 63.75 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.3017, allocations: 12 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3019, allocations: 87.91 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.302, allocations: 27.92 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.302, allocations: 67.59 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.3023, allocations: 191.2 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3023, allocations: 0 / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3023, allocations: 4 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3024, allocations: 0 / 1.021 GB, free: 7.176 MB / 0.795 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.000819/0.3032, allocations: 474.9 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3032, allocations: 12.92 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.3033, allocations: 12.75 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.3035, allocations: 222.7 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3035, allocations: 4.375 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.3035, allocations: 8.375 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.304, allocations: 182.7 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.304, allocations: 192 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.304, allocations: 3.938 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.3041, allocations: 31.86 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00062/0.3047, allocations: 199.7 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008239/0.3055, allocations: 460.3 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.3059, allocations: 142.5 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.3063, allocations: 126.3 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3063, allocations: 0 / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3063, allocations: 34.56 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.3063, allocations: 0 / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.001133/0.3075, allocations: 403.2 kB / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/0.3075, allocations: 55.39 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3076, allocations: 146.2 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3077, allocations: 25.7 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.3077, allocations: 108.4 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.3078, allocations: 55.27 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.3078, allocations: 25.7 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.308, allocations: 326.8 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.3083, allocations: 107.9 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.3086, allocations: 115.9 kB / 1.025 GB, free: 3.746 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/0.3093, allocations: 239.3 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3093, allocations: 0 / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007062/0.31, allocations: 281.2 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.31, allocations: 6.5 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.31, allocations: 4 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.31, allocations: 4 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.3103, allocations: 31.95 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3103, allocations: 0 / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.3104, allocations: 47.8 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.3105, allocations: 0 / 1.025 GB, free: 3.141 MB / 0.795 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.0001035/0.3106, allocations: 125.8 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.3106, allocations: 15.81 kB / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.3107, allocations: 12.84 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.3107, allocations: 11.98 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3107, allocations: 0 / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3107, allocations: 7.938 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.311, allocations: 225.5 kB / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.311, allocations: 0 / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.3112, allocations: 43.83 kB / 1.026 GB, free: 2.648 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-06/0.3112, allocations: 0 / 1.026 GB, free: 2.648 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3112, allocations: 0 / 1.026 GB, free: 2.648 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3112, allocations: 4 kB / 1.026 GB, free: 2.645 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3112, allocations: 0 / 1.026 GB, free: 2.645 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007517/0.312, allocations: 379.1 kB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.312, allocations: 96.95 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.3121, allocations: 3.984 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.3122, allocations: 31.89 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.3123, allocations: 15.92 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3123, allocations: 4 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.079e-05/0.3124, allocations: 109.5 kB / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3124, allocations: 0 / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003074/0.3127, allocations: 51.91 kB / 1.026 GB, free: 1.934 MB / 0.795 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.0002151/0.313, allocations: 119.2 kB / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007699/0.3137, allocations: 251.8 kB / 1.027 GB, free: 1.562 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3137, allocations: 0 / 1.027 GB, free: 1.562 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.3141, allocations: 135.8 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3145, allocations: 22.38 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.3151, allocations: 323.5 kB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.3154, allocations: 0.7236 MB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.771e-05/0.3155, allocations: 15.98 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.3155, allocations: 15.42 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3155, allocations: 0 / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of Templates: time 0.004506/0.32, allocations: 1.883 MB / 1.03 GB, free: 14.42 MB / 0.8106 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 -s cvode -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