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.001183/0.001183, allocations: 108.4 kB / 16.41 MB, free: 6.492 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.001299/0.001299, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 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.232/2.232, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.944/0.9454, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002025/0.9475, allocations: 0.7679 MB / 1.089 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.9486, allocations: 0.8289 MB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.9487, allocations: 4.719 kB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.9489, allocations: 53.5 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.949, allocations: 35 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.153e-05/0.9491, allocations: 21.84 kB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.9493, allocations: 89.8 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.9494, allocations: 24.89 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.954e-05/0.9495, allocations: 43.2 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.9497, allocations: 78.77 kB / 1.091 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.9497, allocations: 7.656 kB / 1.091 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.9498, allocations: 7.969 kB / 1.091 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.9499, allocations: 36.58 kB / 1.091 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.9499, allocations: 49.53 kB / 1.091 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.9501, allocations: 120.6 kB / 1.091 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.9501, allocations: 0 / 1.091 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9501, allocations: 5.094 kB / 1.091 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.9502, allocations: 0 / 1.091 GB, free: 4.438 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.0007987/0.951, allocations: 460.1 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.951, allocations: 8.969 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.9511, allocations: 14.33 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.9512, allocations: 202.8 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.9512, allocations: 6.562 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.9513, allocations: 3.688 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.9517, allocations: 152.9 kB / 1.092 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9517, allocations: 192 / 1.092 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.9518, allocations: 5.156 kB / 1.092 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.9518, allocations: 5.312 kB / 1.092 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.9524, allocations: 166.6 kB / 1.092 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000855/0.9532, allocations: 0.5051 MB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.9537, allocations: 163.3 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.954, allocations: 94.77 kB / 1.093 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.954, allocations: 9.406 kB / 1.093 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.954, allocations: 40.36 kB / 1.093 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.954, allocations: 0.9375 kB / 1.093 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0009522/0.955, allocations: 279.5 kB / 1.093 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.955, allocations: 83.97 kB / 1.093 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.9552, allocations: 165.1 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.9552, allocations: 30.36 kB / 1.093 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.9553, allocations: 105.3 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.9553, allocations: 28.48 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.9553, allocations: 21.69 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.9554, allocations: 325.6 kB / 1.094 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.9557, allocations: 76.12 kB / 1.094 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.956, allocations: 100.2 kB / 1.094 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.9565, allocations: 177.5 kB / 1.094 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9565, allocations: 4.594 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006161/0.9571, allocations: 196.6 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.9572, allocations: 4.969 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.9572, allocations: 1.484 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.9572, allocations: 0.8438 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.9574, allocations: 46.69 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.9574, allocations: 0 / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.9576, allocations: 27.88 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.9576, allocations: 2.656 kB / 1.094 GB, free: 2.168 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 9.534e-05/0.9577, allocations: 131.8 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.9578, allocations: 9.969 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.9578, allocations: 17.97 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.9578, allocations: 6.094 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9578, allocations: 0.6875 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.9579, allocations: 1.438 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.9581, allocations: 223.2 kB / 1.095 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9581, allocations: 0.9062 kB / 1.095 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.9583, allocations: 37.38 kB / 1.095 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.9583, allocations: 1.406 kB / 1.095 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.9584, allocations: 4.719 kB / 1.095 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.9584, allocations: 1.938 kB / 1.095 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9584, allocations: 4.75 kB / 1.095 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.959, allocations: 381.9 kB / 1.095 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.9591, allocations: 89.67 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.9591, allocations: 9.5 kB / 1.095 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.9594, allocations: 23.52 kB / 1.095 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.9595, allocations: 11.67 kB / 1.095 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.9595, allocations: 1.438 kB / 1.095 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.929e-05/0.9596, allocations: 124.5 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9596, allocations: 0 / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002795/0.9599, allocations: 15.94 kB / 1.095 GB, free: 1.348 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.000146/0.96, allocations: 108.3 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006283/0.9606, allocations: 172.2 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9607, allocations: 0 / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.961, allocations: 97.44 kB / 1.096 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.9614, allocations: 21.66 kB / 1.096 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.9619, allocations: 283.5 kB / 1.096 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.9621, allocations: 0.716 MB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.9622, allocations: 11.7 kB / 1.097 GB, free: 272 kB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.9622, allocations: 0.75 kB / 1.097 GB, free: 272 kB / 0.8575 GB Notification: Performance of Templates: time 0.00363/0.9658, allocations: 1.489 MB / 1.098 GB, free: 164 kB / 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/jenkins1/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