Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004243/0.004243, allocations: 97.16 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.001192/0.001192, allocations: 192 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.518/2.518, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 75.88 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7044, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001793/0.7062, allocations: 0.7703 MB / 1.221 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008698/0.7071, allocations: 0.8313 MB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.7072, allocations: 3.938 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.7074, allocations: 59.78 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.7074, allocations: 27.84 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.677e-05/0.7075, allocations: 19.97 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.7076, allocations: 91.73 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.7078, allocations: 23.98 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.921e-05/0.7078, allocations: 39.84 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.708, allocations: 87.77 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.708, allocations: 8 kB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.198e-05/0.708, allocations: 12 kB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.7081, allocations: 39.84 kB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.7082, allocations: 43.86 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.7083, allocations: 115.2 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7084, allocations: 0 / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7084, allocations: 4 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.7084, allocations: 0 / 1.222 GB, free: 15.88 MB / 0.9512 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.0007306/0.7091, allocations: 470.7 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.7092, allocations: 12.03 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.7092, allocations: 34.75 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.7092, allocations: 12.89 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.7094, allocations: 200.1 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.7094, allocations: 8.312 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.7095, allocations: 8.375 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.7098, allocations: 151.8 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.7099, allocations: 3.938 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.7099, allocations: 4 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.7099, allocations: 7.938 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.7104, allocations: 171.8 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.7112, allocations: 0.493 MB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.7116, allocations: 169.1 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.7118, allocations: 97.72 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.7119, allocations: 3.984 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.7119, allocations: 34.56 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.7119, allocations: 0 / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0008597/0.7128, allocations: 289.3 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.7128, allocations: 77.11 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.713, allocations: 172.3 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.713, allocations: 25.7 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.12e-05/0.7131, allocations: 108.1 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.7131, allocations: 23.75 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.7131, allocations: 25.72 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7133, allocations: 326.8 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.7135, allocations: 79.92 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.7138, allocations: 93.56 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.7143, allocations: 173.6 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.7143, allocations: 0 / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005375/0.7148, allocations: 213.3 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.7148, allocations: 8 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.7148, allocations: 0 / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.7149, allocations: 0 / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.7151, allocations: 35.95 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.7151, allocations: 0 / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.7152, allocations: 23.95 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.7152, allocations: 8 kB / 1.226 GB, free: 12.09 MB / 0.9512 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.669e-05/0.7153, allocations: 133.8 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.7154, allocations: 7.953 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.7154, allocations: 24.19 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7154, allocations: 4 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7154, allocations: 4 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.7154, allocations: 0 / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.7157, allocations: 229.5 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7157, allocations: 0 / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.7159, allocations: 40.42 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7159, allocations: 0 / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.7159, allocations: 0 / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7159, allocations: 4 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7159, allocations: 0 / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.7165, allocations: 386.5 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.7166, allocations: 92.95 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.7166, allocations: 4 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.7168, allocations: 27.95 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.7169, allocations: 7.984 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.7169, allocations: 0 / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.619e-05/0.717, allocations: 129 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.717, allocations: 0 / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002568/0.7172, allocations: 23.94 kB / 1.227 GB, free: 10.9 MB / 0.9512 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.0009023/0.7181, allocations: 0.9112 MB / 1.228 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005393/0.7187, allocations: 171.8 kB / 1.228 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7187, allocations: 0 / 1.228 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.719, allocations: 91.86 kB / 1.228 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.7193, allocations: 11.98 kB / 1.228 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.7219, allocations: 1.972 MB / 1.23 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.7222, allocations: 0.7195 MB / 1.231 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.712e-05/0.7223, allocations: 23.97 kB / 1.231 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.68e-05/0.7224, allocations: 35.42 kB / 1.231 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.7224, allocations: 0 / 1.231 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7792/1.502, allocations: 2.701 MB / 1.233 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/11.6, allocations: 7.531 kB / 1.233 GB, free: 4.223 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches