Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 387.1 MB / 399.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 180.8 kB / 492.3 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.3 MB / 0.7872 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009487/0.0009482, allocations: 99.77 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.07e-05/5.072e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2785, allocations: 142.4 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.327, allocations: 149.1 MB / 1.358 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/1.328, allocations: 68.75 kB / 1.358 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01049/1.338, allocations: 3.532 MB / 1.362 GB, free: 34.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.335e-06/1.338, allocations: 4 kB / 1.362 GB, free: 34.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.249e-05/1.338, allocations: 7.781 kB / 1.362 GB, free: 34.57 MB / 0.8386 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.000693/1.339, allocations: 481.3 kB / 1.362 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.339, allocations: 7.688 kB / 1.362 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/1.339, allocations: 15.5 kB / 1.362 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/1.339, allocations: 205.6 kB / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/1.339, allocations: 7.656 kB / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/1.339, allocations: 9.062 kB / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/1.34, allocations: 119.4 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.34, allocations: 4.531 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/1.34, allocations: 5.203 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.34, allocations: 0 / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/1.34, allocations: 85.16 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/1.341, allocations: 0.5166 MB / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/1.341, allocations: 79.2 kB / 1.363 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.692e-05/1.341, allocations: 69.41 kB / 1.363 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/1.341, allocations: 0 / 1.363 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/1.341, allocations: 43.67 kB / 1.363 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 7.274e-06/1.341, allocations: 7.922 kB / 1.363 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003063/1.342, allocations: 153.2 kB / 1.363 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/1.342, allocations: 54.97 kB / 1.363 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/1.342, allocations: 128.8 kB / 1.364 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/1.342, allocations: 25.7 kB / 1.364 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/1.342, allocations: 118.9 kB / 1.364 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/1.342, allocations: 46.72 kB / 1.364 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/1.342, allocations: 3.312 kB / 1.364 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.342, allocations: 325 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/1.342, allocations: 55.56 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-05/1.342, allocations: 51.8 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.549e-05/1.342, allocations: 64.7 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.342, allocations: 0 / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002303/1.343, allocations: 163.2 kB / 1.364 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.343, allocations: 7.719 kB / 1.364 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/1.343, allocations: 5.781 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.343, allocations: 0 / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/1.343, allocations: 49.69 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.343, allocations: 5.656 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/1.343, allocations: 50.77 kB / 1.364 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/1.343, allocations: 7.281 kB / 1.364 GB, free: 32.81 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.17e-05/1.343, allocations: 104.8 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/1.343, allocations: 11.7 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/1.344, allocations: 197.5 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.344, allocations: 0 / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.344, allocations: 0 / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.344, allocations: 3.781 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/1.344, allocations: 251.4 kB / 1.365 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/1.344, allocations: 1.547 kB / 1.365 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/1.344, allocations: 54.67 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.344, allocations: 0 / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/1.344, allocations: 3.875 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.344, allocations: 0 / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.344, allocations: 1.125 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/1.344, allocations: 267.6 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/1.344, allocations: 92.89 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/1.344, allocations: 3.953 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/1.345, allocations: 47 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/1.345, allocations: 8.719 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/1.345, allocations: 12.5 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.78e-05/1.345, allocations: 107.3 kB / 1.366 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.345, allocations: 3.938 kB / 1.366 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003246/1.345, allocations: 50.66 kB / 1.366 GB, free: 32.09 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002549/1.345, allocations: 117.2 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002601/1.346, allocations: 201.3 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.346, allocations: 0 / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/1.346, allocations: 141.8 kB / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/1.346, allocations: 18.84 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/1.347, allocations: 207.2 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/1.347, allocations: 0.7222 MB / 1.367 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.708e-05/1.347, allocations: 17.86 kB / 1.367 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/1.347, allocations: 11.25 kB / 1.367 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of SimCode: time 7.32e-07/1.347, allocations: 0 / 1.367 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of Templates: time 0.004305/1.351, allocations: 1.62 MB / 1.369 GB, free: 30.95 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches