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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 213.4 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.486/3.486, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 67 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3749, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001986/0.3768, allocations: 0.7532 MB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3779, allocations: 0.851 MB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.3779, allocations: 3.938 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.3781, allocations: 63.8 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/0.3782, allocations: 39.81 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.502e-05/0.3783, allocations: 11.98 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.3784, allocations: 95.69 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3785, allocations: 15.98 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.3786, allocations: 43.89 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.3788, allocations: 83.78 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.3788, allocations: 8 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.987e-05/0.3788, allocations: 8 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.3789, allocations: 39.83 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.3789, allocations: 35.8 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.3791, allocations: 119.7 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3791, allocations: 0 / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3791, allocations: 0 / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3791, allocations: 7.938 kB / 1.366 GB, free: 11.89 MB / 1.061 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.0007454/0.3799, allocations: 385.7 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3799, allocations: 8.031 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.291e-05/0.3799, allocations: 42.73 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.38, allocations: 8.891 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.3802, allocations: 142.4 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3802, allocations: 12.38 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.3802, allocations: 4.375 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.3806, allocations: 155.7 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3806, allocations: 3.938 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3806, allocations: 0 / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.3806, allocations: 4 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005373/0.3812, allocations: 167.8 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.382, allocations: 463.9 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.3824, allocations: 161.1 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.3827, allocations: 97.72 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3827, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3827, allocations: 38.5 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.3827, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.000886/0.3836, allocations: 285.3 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.3836, allocations: 77.11 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.3838, allocations: 170.3 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3838, allocations: 25.7 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.3839, allocations: 108.1 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.3839, allocations: 27.73 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.384, allocations: 25.72 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3841, allocations: 326.8 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.3844, allocations: 79.86 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.3846, allocations: 93.62 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.3851, allocations: 177.9 kB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3851, allocations: 0 / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005559/0.3857, allocations: 209.4 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3857, allocations: 6.031 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.3857, allocations: 4 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3857, allocations: 0 / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.386, allocations: 35.89 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.386, allocations: 8 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.3861, allocations: 23.95 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.3861, allocations: 8 kB / 1.369 GB, free: 8.344 MB / 1.061 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.0001094/0.3862, allocations: 133.8 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.3863, allocations: 11.91 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.3863, allocations: 20.34 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3863, allocations: 3.938 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.3863, allocations: 4 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3863, allocations: 0 / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.3866, allocations: 184.6 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3866, allocations: 0 / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.3868, allocations: 35.95 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3868, allocations: 7.938 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3868, allocations: 0 / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3868, allocations: 4 kB / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3868, allocations: 0 / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.3875, allocations: 378.6 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.3875, allocations: 15.89 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3875, allocations: 4 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.3877, allocations: 23.97 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.3878, allocations: 7.984 kB / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.3878, allocations: 8 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.371e-05/0.3879, allocations: 120.1 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3879, allocations: 0 / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002758/0.3881, allocations: 20 kB / 1.37 GB, free: 7.301 MB / 1.061 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.0009477/0.3891, allocations: 0.9068 MB / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005546/0.3896, allocations: 175.8 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3896, allocations: 0 / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.3899, allocations: 91.86 kB / 1.371 GB, free: 6.105 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3903, allocations: 13.48 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.3932, allocations: 1.977 MB / 1.373 GB, free: 4.027 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.3933, allocations: 92.19 kB / 1.373 GB, free: 3.914 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.963e-05/0.3934, allocations: 35.89 kB / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.3934, allocations: 31.42 kB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of SimCode: time 5e-07/0.3934, allocations: 0 / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.4239, allocations: 3.276 MB / 1.376 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.08, allocations: 2.062 kB / 1.376 GB, free: 0.7109 MB / 1.061 GB " [Timeout remaining time 288] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable matGai.u[1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai.u[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.y[1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.y[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.y[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.y[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.u[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.u[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.266779146622866]