Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_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.00753/0.00753, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001632/0.001632, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.55/2.55, allocations: 469.4 MB / 0.7421 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 1.064 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6912/0.6925, allocations: 159.1 MB / 1.22 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001793/0.6943, allocations: 0.7664 MB / 1.221 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009222/0.6952, allocations: 0.8351 MB / 1.221 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.6953, allocations: 0 / 1.221 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.6955, allocations: 55.8 kB / 1.221 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.11e-05/0.6956, allocations: 35.83 kB / 1.221 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.262e-05/0.6957, allocations: 19.97 kB / 1.221 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.6958, allocations: 87.75 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.696, allocations: 23.98 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.696, allocations: 47.83 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.6962, allocations: 79.78 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.6962, allocations: 11.94 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.6962, allocations: 8 kB / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.6963, allocations: 35.91 kB / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.6964, allocations: 39.73 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.6965, allocations: 123.2 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6966, allocations: 0 / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6966, allocations: 0 / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.6966, allocations: 0 / 1.222 GB, free: 68 kB / 0.9356 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.0007742/0.6974, allocations: 470.7 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.6974, allocations: 8.625 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.6974, allocations: 42.75 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.6975, allocations: 8.891 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.6977, allocations: 208.1 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.6977, allocations: 8.312 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.6977, allocations: 4.375 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.6981, allocations: 147.9 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6981, allocations: 11.94 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.6982, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.6982, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005408/0.6987, allocations: 171.8 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008103/0.6995, allocations: 0.4931 MB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.7, allocations: 169.2 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.7002, allocations: 97.61 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.7003, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.7003, allocations: 38.56 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.7003, allocations: 0 / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0009053/0.7012, allocations: 281.3 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.7013, allocations: 85.09 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.7014, allocations: 173.5 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.7014, allocations: 25.7 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.7015, allocations: 108.1 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.7015, allocations: 31.73 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.7016, allocations: 25.64 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.7017, allocations: 322.8 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.7019, allocations: 79.92 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.7022, allocations: 101.6 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.7027, allocations: 169.6 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7027, allocations: 0 / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005768/0.7033, allocations: 205.4 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7033, allocations: 4 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7033, allocations: 0 / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.7034, allocations: 4 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.7036, allocations: 43.89 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7036, allocations: 0 / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.7037, allocations: 27.95 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.7038, allocations: 0 / 1.225 GB, free: 12.29 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.393e-05/0.7039, allocations: 138.2 kB / 1.225 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.7039, allocations: 7.953 kB / 1.225 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.704, allocations: 20.25 kB / 1.225 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.704, allocations: 4 kB / 1.225 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.704, allocations: 4 kB / 1.225 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.704, allocations: 0 / 1.225 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.7043, allocations: 229.5 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7043, allocations: 4 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.7045, allocations: 27.97 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.7045, allocations: 4.469 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.7045, allocations: 4 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7045, allocations: 8.141 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7045, allocations: 0 / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00062/0.7051, allocations: 390.5 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.7052, allocations: 89.02 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.7052, allocations: 4 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.7054, allocations: 23.95 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.7055, allocations: 11.98 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.7055, allocations: 4 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.116e-05/0.7056, allocations: 119.2 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7056, allocations: 0 / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002833/0.7059, allocations: 23.94 kB / 1.226 GB, free: 11.1 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.0008819/0.7068, allocations: 0.9107 MB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005691/0.7073, allocations: 167.8 kB / 1.227 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7074, allocations: 0 / 1.227 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.7076, allocations: 91.86 kB / 1.228 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.708, allocations: 15.92 kB / 1.228 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.7107, allocations: 1.98 MB / 1.229 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.711, allocations: 0.7118 MB / 1.23 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.936e-05/0.7111, allocations: 27.97 kB / 1.23 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.7111, allocations: 39.36 kB / 1.23 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.7111, allocations: 0 / 1.23 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.7286, allocations: 2.697 MB / 1.233 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.32/8.048, allocations: 13.5 kB / 1.233 GB, free: 4.414 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches