Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01063/0.01063, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001993/0.001993, allocations: 194.4 kB / 16.67 MB, free: 5.984 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.61/1.61, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.683/2.683, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 73.52 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4047, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002047/0.4068, allocations: 0.737 MB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002764/0.4071, allocations: 63.81 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.4072, allocations: 0 / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.4074, allocations: 23.8 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.4075, allocations: 11.92 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.4077, allocations: 27.95 kB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.4079, allocations: 119.7 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.4082, allocations: 156.5 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.4083, allocations: 67.78 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.4084, allocations: 71.64 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.4085, allocations: 12 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.532e-05/0.4085, allocations: 16 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.4086, allocations: 48.2 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.4087, allocations: 95.41 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.409, allocations: 227.1 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.409, allocations: 4 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.409, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.409, allocations: 0 / 1.09 GB, free: 15.78 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006413/0.4097, allocations: 0.4951 MB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4097, allocations: 12.03 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.4098, allocations: 32.56 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.4101, allocations: 241 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.4102, allocations: 20.73 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.4102, allocations: 16.38 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.4107, allocations: 340.9 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4107, allocations: 3.938 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.4108, allocations: 8 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.4108, allocations: 19.98 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.4111, allocations: 255.9 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.4125, allocations: 1.084 MB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.4126, allocations: 173.1 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.4126, allocations: 84.08 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.4127, allocations: 75.28 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.914e-05/0.4127, allocations: 105.8 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4128, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001026/0.4129, allocations: 57.55 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.413, allocations: 130.6 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.4135, allocations: 0.5042 MB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.4135, allocations: 25.7 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.4137, allocations: 167.8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.4137, allocations: 4 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.4138, allocations: 29.7 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4139, allocations: 334.8 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-05/0.414, allocations: 51.95 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.4141, allocations: 101.9 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.4143, allocations: 109.8 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4143, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003627/0.4147, allocations: 181.2 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4147, allocations: 4 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.4147, allocations: 7.938 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.4148, allocations: 4.219 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4149, allocations: 19.98 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/0.4149, allocations: 7.938 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.415, allocations: 35.67 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.4151, allocations: 8 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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): 7 * Array equations: 0 * 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.0002042/0.4153, allocations: 249 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.4154, allocations: 124.6 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.36e-05/0.4155, allocations: 146.7 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.111e-05/0.4156, allocations: 184.2 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.723e-05/0.4156, allocations: 180.2 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-05/0.4157, allocations: 177.7 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.4161, allocations: 489.1 kB / 1.096 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-05/0.4161, allocations: 112.9 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.4162, allocations: 105 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.805e-05/0.4163, allocations: 184.2 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.929e-05/0.4164, allocations: 184.2 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-05/0.4165, allocations: 180.3 kB / 1.096 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-05/0.4165, allocations: 180.2 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.4167, allocations: 327.5 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.4169, allocations: 218.1 kB / 1.097 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.417, allocations: 180.2 kB / 1.097 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.4171, allocations: 112.9 kB / 1.097 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/0.4172, allocations: 184.3 kB / 1.098 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-05/0.4173, allocations: 112.9 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003818/0.4177, allocations: 363 kB / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4177, allocations: 0 / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003001/0.418, allocations: 28 kB / 1.098 GB, free: 6.645 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001833/0.4182, allocations: 174.5 kB / 1.098 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.4183, allocations: 64.27 kB / 1.098 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.4183, allocations: 4.062 kB / 1.098 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.4184, allocations: 3.938 kB / 1.098 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.419, allocations: 490.7 kB / 1.099 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.4196, allocations: 467.1 kB / 1.099 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.42, allocations: 0.7827 MB / 1.1 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.17e-05/0.4201, allocations: 49.52 kB / 1.1 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.4202, allocations: 15.44 kB / 1.1 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.4202, allocations: 0 / 1.1 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of Templates: time 0.004526/0.4247, allocations: 1.747 MB / 1.102 GB, free: 2.82 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches