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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01036/0.01036, allocations: 99.81 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.001914/0.001914, allocations: 192.3 kB / 16.67 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 0.9509 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.024, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002349/1.026, allocations: 0.8415 MB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001358/1.028, allocations: 1 MB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/1.028, allocations: 1.188 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/1.028, allocations: 14.78 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/1.028, allocations: 23.88 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/1.028, allocations: 88.42 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/1.029, allocations: 118.5 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/1.029, allocations: 53.17 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/1.029, allocations: 51.17 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/1.029, allocations: 58.14 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/1.029, allocations: 9.75 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/1.029, allocations: 94.41 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.144e-05/1.029, allocations: 36.14 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.752e-05/1.03, allocations: 57.22 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/1.03, allocations: 198.1 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.03, allocations: 0.9062 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/1.03, allocations: 0 / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.03, allocations: 0 / 1.091 GB, free: 3.859 MB / 0.8575 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.0008252/1.031, allocations: 484.6 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/1.031, allocations: 8.75 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/1.031, allocations: 19.19 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/1.031, allocations: 205.8 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/1.031, allocations: 7.312 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/1.031, allocations: 9.312 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/1.032, allocations: 188 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.032, allocations: 4.125 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/1.032, allocations: 9.469 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/1.032, allocations: 11.61 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008212/1.033, allocations: 204.6 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009974/1.034, allocations: 455 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/1.034, allocations: 139 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004541/1.035, allocations: 128.2 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/1.035, allocations: 9.734 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/1.035, allocations: 35.88 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/1.035, allocations: 0 / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.001528/1.036, allocations: 397.1 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/1.036, allocations: 53.55 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/1.036, allocations: 147.5 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/1.036, allocations: 34.44 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/1.036, allocations: 110 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/1.037, allocations: 53.83 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/1.037, allocations: 23.41 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.851e-05/1.037, allocations: 322.4 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/1.037, allocations: 115.6 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/1.038, allocations: 108.4 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000856/1.039, allocations: 241 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.039, allocations: 0.7812 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009555/1.039, allocations: 288.5 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.04, allocations: 5.859 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.04, allocations: 1 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/1.04, allocations: 0 / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/1.04, allocations: 35.17 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.04, allocations: 4 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/1.04, allocations: 36.88 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/1.04, allocations: 2.953 kB / 1.094 GB, free: 1.625 MB / 0.8575 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.974e-05/1.04, allocations: 131.2 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/1.04, allocations: 8.672 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/1.04, allocations: 13.2 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/1.04, allocations: 16.94 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.04, allocations: 4.625 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.04, allocations: 4.594 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/1.041, allocations: 225.8 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.041, allocations: 3.938 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/1.041, allocations: 38.75 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.041, allocations: 0 / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/1.041, allocations: 1.859 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.041, allocations: 0.9375 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.041, allocations: 4.797 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009874/1.042, allocations: 381.3 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/1.042, allocations: 89.05 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/1.042, allocations: 1.859 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/1.042, allocations: 31.98 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/1.042, allocations: 16.91 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/1.042, allocations: 1.812 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.922e-05/1.042, allocations: 115.1 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.92e-07/1.042, allocations: 0 / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003676/1.043, allocations: 46.25 kB / 1.095 GB, free: 0.8516 MB / 0.8575 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.0002718/1.043, allocations: 117 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009807/1.044, allocations: 260.2 kB / 1.096 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.044, allocations: 0 / 1.096 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004581/1.045, allocations: 136.5 kB / 1.096 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/1.045, allocations: 34.67 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/1.046, allocations: 321.8 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/1.046, allocations: 0.7199 MB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.975e-05/1.046, allocations: 19.17 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/1.046, allocations: 13 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/1.046, allocations: 0 / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of Templates: time 0.006315/1.052, allocations: 1.918 MB / 1.099 GB, free: 15.61 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches