Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009942/0.009942, allocations: 100.5 kB / 15.73 MB, free: 6.477 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.001657/0.001657, allocations: 195.9 kB / 16.67 MB, free: 6.379 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.536/2.536, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 72.12 kB / 0.9509 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4043, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002273/0.4066, allocations: 0.7748 MB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.4077, allocations: 0.8277 MB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.4078, allocations: 3.938 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.408, allocations: 51.81 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.153e-05/0.4081, allocations: 43.81 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.268e-05/0.4082, allocations: 23.91 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.4084, allocations: 79.81 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.4085, allocations: 24 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.4086, allocations: 47.81 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.4088, allocations: 79.8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.4088, allocations: 8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.798e-05/0.4089, allocations: 8 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.313e-05/0.409, allocations: 35.91 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.409, allocations: 43.72 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.4092, allocations: 119.5 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4092, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4092, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.4092, allocations: 4 kB / 1.09 GB, free: 15.31 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008478/0.4101, allocations: 462.9 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4101, allocations: 8.031 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.4102, allocations: 16.75 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.4104, allocations: 208 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.4105, allocations: 8.375 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.4105, allocations: 384 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.411, allocations: 159.7 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4111, allocations: 192 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.4111, allocations: 3.938 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4111, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.4116, allocations: 171.8 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008361/0.4125, allocations: 0.5008 MB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.4129, allocations: 165.1 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.4132, allocations: 97.67 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.4132, allocations: 8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.4132, allocations: 30.56 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.4132, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0008959/0.4141, allocations: 285.3 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.4142, allocations: 81.11 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.4144, allocations: 156 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4144, allocations: 29.7 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.4145, allocations: 104.1 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.4145, allocations: 31.61 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.4146, allocations: 21.7 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4147, allocations: 330.8 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.4149, allocations: 75.92 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.4152, allocations: 93.64 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.4157, allocations: 177.8 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4157, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005509/0.4163, allocations: 209.4 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4163, allocations: 5.562 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4163, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.4163, allocations: 7.984 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.4166, allocations: 27.97 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4166, allocations: 8 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.4168, allocations: 31.8 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.4168, allocations: 4.156 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001431/0.417, allocations: 129.8 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.417, allocations: 11.91 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.4171, allocations: 16.25 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4171, allocations: 0 / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4171, allocations: 0 / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4171, allocations: 7.984 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.4175, allocations: 229.5 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4175, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.4178, allocations: 39.91 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4178, allocations: 3.984 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.4178, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4178, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4178, allocations: 3.984 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000963/0.4188, allocations: 386.4 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.4189, allocations: 85.02 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.4189, allocations: 0 / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.4192, allocations: 31.95 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.4193, allocations: 19.86 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.4193, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000156/0.4195, allocations: 130.5 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4195, allocations: 0 / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005179/0.42, allocations: 16 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001987/0.4202, allocations: 107.2 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000764/0.421, allocations: 175.7 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.421, allocations: 0 / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.4214, allocations: 87.92 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.422, allocations: 19.94 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.4228, allocations: 259.1 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.4233, allocations: 0.7119 MB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.4235, allocations: 31.97 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.4235, allocations: 11.44 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.4235, allocations: 0 / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of Templates: time 0.005436/0.429, allocations: 1.206 MB / 1.097 GB, free: 7.754 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches