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.007732/0.007732, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.001562/0.001562, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.421/1.421, allocations: 222.9 MB / 240.4 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.527/2.527, allocations: 437 MB / 0.7105 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.014, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002193/1.016, allocations: 0.8186 MB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001511/1.018, allocations: 1.017 MB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/1.018, allocations: 0 / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/1.018, allocations: 11.88 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/1.018, allocations: 27.78 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/1.018, allocations: 87.77 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/1.018, allocations: 115.7 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/1.019, allocations: 49.38 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.235e-05/1.019, allocations: 55.77 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/1.019, allocations: 63.69 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/1.019, allocations: 12 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/1.019, allocations: 87.92 kB / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.782e-05/1.019, allocations: 35.91 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/1.019, allocations: 59.59 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/1.019, allocations: 195.7 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/1.019, allocations: 0 / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/1.019, allocations: 0 / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.019, allocations: 0 / 1.169 GB, free: 1.215 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.0008009/1.02, allocations: 494.5 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.02, allocations: 12.92 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/1.02, allocations: 12.84 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/1.021, allocations: 204.1 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/1.021, allocations: 8.359 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/1.021, allocations: 8.375 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/1.021, allocations: 188.2 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.021, allocations: 192 / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/1.021, allocations: 7.938 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/1.021, allocations: 15.98 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006793/1.022, allocations: 195.8 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009211/1.023, allocations: 468.4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/1.023, allocations: 134.5 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/1.024, allocations: 128.8 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/1.024, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/1.024, allocations: 34.56 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/1.024, allocations: 0 / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.001245/1.025, allocations: 399.5 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/1.025, allocations: 55.41 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/1.025, allocations: 152.3 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/1.025, allocations: 25.7 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/1.025, allocations: 112.4 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/1.025, allocations: 55.59 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/1.025, allocations: 29.64 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.026, allocations: 322.8 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/1.026, allocations: 115.9 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/1.026, allocations: 107.9 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/1.027, allocations: 239.2 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.027, allocations: 4 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007737/1.028, allocations: 281.3 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.028, allocations: 4 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.028, allocations: 0 / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.028, allocations: 4 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/1.028, allocations: 47.88 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.028, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/1.028, allocations: 31.91 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/1.028, allocations: 3.984 kB / 1.173 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 9.908e-05/1.028, allocations: 121.8 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/1.028, allocations: 23.89 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/1.028, allocations: 8.844 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/1.028, allocations: 8 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.029, allocations: 3.984 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.029, allocations: 7.875 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/1.029, allocations: 229.5 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.029, allocations: 3.984 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/1.029, allocations: 35.95 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.029, allocations: 4 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/1.029, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/1.029, allocations: 4 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.029, allocations: 0 / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/1.03, allocations: 379.2 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/1.03, allocations: 92.95 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/1.03, allocations: 0 / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/1.03, allocations: 31.94 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.57e-05/1.03, allocations: 19.92 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/1.03, allocations: 4 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001063/1.03, allocations: 117.8 kB / 1.174 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.03, allocations: 0 / 1.174 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003296/1.031, allocations: 39.94 kB / 1.174 GB, free: 11.97 MB / 0.9044 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.000356/1.031, allocations: 115.2 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008906/1.032, allocations: 262.1 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.032, allocations: 0 / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/1.032, allocations: 139.8 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/1.033, allocations: 26.48 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/1.034, allocations: 326.4 kB / 1.175 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/1.034, allocations: 0.7236 MB / 1.176 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.778e-05/1.034, allocations: 15.97 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/1.034, allocations: 15.44 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/1.034, allocations: 0 / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.005312/1.04, allocations: 1.915 MB / 1.177 GB, free: 8.406 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/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