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.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.001092/0.001092, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001414/0.001414, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8893/0.8893, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.642/1.642, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.47e-05, allocations: 6.281 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001389/0.001414, allocations: 0.7473 MB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.002189, allocations: 0.8471 MB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.002243, allocations: 0 / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.002417, allocations: 67.72 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.55e-05/0.002463, allocations: 31.84 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 7.528e-05/0.002538, allocations: 23.97 kB / 0.9522 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.002651, allocations: 91.67 kB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.002772, allocations: 15.98 kB / 0.9524 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.518e-05/0.002868, allocations: 55.88 kB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.003004, allocations: 71.84 kB / 0.9525 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.003035, allocations: 8 kB / 0.9525 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.003048, allocations: 12 kB / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.003114, allocations: 43.83 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.003155, allocations: 27.92 kB / 0.9526 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.003299, allocations: 123.6 kB / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.003302, allocations: 0 / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.253e-06/0.003304, allocations: 0 / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.003309, allocations: 0 / 0.9527 GB, free: 1.258 MB / 0.9011 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.0005416/0.003851, allocations: 393.7 kB / 0.9531 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.003887, allocations: 8.031 kB / 0.9531 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.003921, allocations: 42.69 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.003943, allocations: 12.84 kB / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.004085, allocations: 149.6 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.004096, allocations: 8.359 kB / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.004107, allocations: 8.312 kB / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.004353, allocations: 155.8 kB / 0.9534 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.004359, allocations: 4.188 kB / 0.9534 GB, free: 424 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.004369, allocations: 384 / 0.9534 GB, free: 424 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.004374, allocations: 4.125 kB / 0.9534 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.004652, allocations: 167.8 kB / 0.9536 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.005171, allocations: 460 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.005419, allocations: 165 kB / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.005556, allocations: 85.73 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.005568, allocations: 8 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.005589, allocations: 38.56 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 7.71e-07/0.005589, allocations: 0 / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0005089/0.006098, allocations: 293.3 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.006136, allocations: 77.11 kB / 0.9547 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.006236, allocations: 162 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.006249, allocations: 25.7 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.0063, allocations: 104.1 kB / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.00633, allocations: 31.73 kB / 0.955 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.006367, allocations: 21.72 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.006456, allocations: 326.8 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.006581, allocations: 75.92 kB / 0.9554 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.006721, allocations: 97.58 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.006969, allocations: 169.6 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006971, allocations: 0 / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002892/0.00726, allocations: 217.8 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.007273, allocations: 4 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.007279, allocations: 3.984 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.007291, allocations: 4 kB / 0.9559 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.007403, allocations: 35.95 kB / 0.9559 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.007408, allocations: 0 / 0.9559 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.283e-05/0.007471, allocations: 23.97 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.007476, allocations: 3.938 kB / 0.9559 GB, free: 13.71 MB / 0.9167 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 7.199e-05/0.007548, allocations: 129.8 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.007574, allocations: 15.89 kB / 0.9561 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.007604, allocations: 20.33 kB / 0.9561 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007607, allocations: 0 / 0.9561 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.007611, allocations: 0 / 0.9561 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.007614, allocations: 7.938 kB / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.007808, allocations: 196.5 kB / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.00781, allocations: 0 / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.007897, allocations: 35.95 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.0079, allocations: 0 / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.007908, allocations: 0 / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007909, allocations: 0 / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.007911, allocations: 4 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.008272, allocations: 375.2 kB / 0.9567 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.008283, allocations: 19.84 kB / 0.9567 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.008295, allocations: 4 kB / 0.9567 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.00839, allocations: 23.95 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.008435, allocations: 11.98 kB / 0.9567 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.008438, allocations: 0 / 0.9567 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.981e-05/0.008498, allocations: 129 kB / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008498, allocations: 0 / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001902/0.008688, allocations: 19.94 kB / 0.9569 GB, free: 12.66 MB / 0.9167 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.000538/0.009226, allocations: 0.9068 MB / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004563/0.009683, allocations: 167.8 kB / 0.9579 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009684, allocations: 0 / 0.9579 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.009818, allocations: 91.86 kB / 0.958 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.01007, allocations: 22.95 kB / 0.958 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.01215, allocations: 1.973 MB / 0.9599 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.438e-05/0.01224, allocations: 92.3 kB / 0.96 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.539e-05/0.0123, allocations: 31.97 kB / 0.9601 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.01237, allocations: 32.86 kB / 0.9601 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of SimCode: time 9.12e-07/0.01237, allocations: 0 / 0.9601 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.02962, allocations: 3.42 MB / 0.9634 GB, free: 5.945 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/6.795, allocations: 5.969 kB / 0.9634 GB, free: 5.941 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai.u[1] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.y[1] in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.y[1] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.y[2] in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.y[2] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.u[2] in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.u[2] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.861570895649493]