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.001632/0.001632, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.49/1.49, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.827/2.827, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 71.89 kB / 0.8693 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7563, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002305/0.7586, allocations: 0.8244 MB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.7601, allocations: 1.014 MB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.7602, allocations: 4 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.7603, allocations: 7.875 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.587e-05/0.7604, allocations: 19.8 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.7608, allocations: 99.75 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.761, allocations: 115.7 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.7611, allocations: 53.38 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.7612, allocations: 51.77 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.7613, allocations: 59.75 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.7614, allocations: 12 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.7615, allocations: 63.95 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.7616, allocations: 31.91 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.7616, allocations: 63.61 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.7619, allocations: 189.3 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7619, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.762, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.762, allocations: 0 / 1.02 GB, free: 15.87 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.000909/0.7629, allocations: 478.8 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.7629, allocations: 12.03 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.763, allocations: 16.75 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.7632, allocations: 207.9 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.7633, allocations: 4.375 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.7633, allocations: 12.31 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.7639, allocations: 194 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.7639, allocations: 192 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.7639, allocations: 3.938 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.764, allocations: 11.98 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.7647, allocations: 203.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009901/0.7657, allocations: 452.4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.7662, allocations: 142.4 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004065/0.7666, allocations: 136.7 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.7666, allocations: 4.078 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.7667, allocations: 42.42 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.7667, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.001332/0.768, allocations: 397.2 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.7681, allocations: 51.41 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.7682, allocations: 149.7 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.7682, allocations: 25.7 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.7683, allocations: 112.4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.7684, allocations: 47.25 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.7685, allocations: 25.7 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.7686, allocations: 322.8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.769, allocations: 115.9 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.7694, allocations: 115.8 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007662/0.7702, allocations: 238.1 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7702, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008791/0.7711, allocations: 282.5 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.7711, allocations: 4 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7711, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.7712, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.7714, allocations: 35.95 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.7714, allocations: 0 / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.7716, allocations: 39.73 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.7717, allocations: 8 kB / 1.024 GB, free: 11.83 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.0001282/0.7718, allocations: 132.2 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.7719, allocations: 7.906 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.7719, allocations: 12.84 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/0.7719, allocations: 15.98 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7719, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.7719, allocations: 3.938 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.7723, allocations: 229.5 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7723, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.7725, allocations: 39.95 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7725, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.7725, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.7725, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7725, allocations: 4.172 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/0.7734, allocations: 387.8 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.7735, allocations: 85.02 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.7735, allocations: 8 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.7738, allocations: 31.95 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.7738, allocations: 15.92 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.7739, allocations: 7.984 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.965e-05/0.7739, allocations: 105.3 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.774, allocations: 3.938 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003037/0.7743, allocations: 47.83 kB / 1.025 GB, free: 10.63 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.0002224/0.7745, allocations: 119.2 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009458/0.7754, allocations: 267.8 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7755, allocations: 0 / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.7759, allocations: 131.9 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.7763, allocations: 15.98 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006305/0.7769, allocations: 327 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.7773, allocations: 0.7236 MB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.375e-05/0.7774, allocations: 15.97 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.7774, allocations: 15.44 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.7774, allocations: 0 / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of Templates: time 0.005305/0.7828, allocations: 1.891 MB / 1.028 GB, free: 7.102 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=400 -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