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.0008489/0.0008489, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001516/0.001516, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8657/0.8657, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.735/1.735, allocations: 389.1 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.625e-05, allocations: 12.89 kB / 0.9997 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001223/0.001239, allocations: 0.7378 MB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.002098, allocations: 0.8471 MB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.002151, allocations: 11.94 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.002329, allocations: 51.75 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.002374, allocations: 43.81 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.012e-05/0.002444, allocations: 23.91 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.914e-05/0.002543, allocations: 91.69 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.00266, allocations: 15.98 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.002736, allocations: 51.88 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.002856, allocations: 83.83 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.002882, allocations: 8 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.002893, allocations: 12 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.002951, allocations: 35.84 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.002986, allocations: 27.92 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.003108, allocations: 115.7 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.00311, allocations: 0 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003111, allocations: 0 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.003115, allocations: 0 / 1.002 GB, free: 11.24 MB / 0.9636 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.0005121/0.003627, allocations: 401.6 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.003666, allocations: 8.75 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.003703, allocations: 38.73 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.00373, allocations: 16.84 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.00387, allocations: 145.6 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.003879, allocations: 4.375 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.003891, allocations: 8.375 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.004128, allocations: 143.9 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.004135, allocations: 4.188 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.004145, allocations: 4.375 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.004151, allocations: 8.125 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.004419, allocations: 163.8 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.004907, allocations: 468.1 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.005236, allocations: 157.1 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.005457, allocations: 98.41 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.005476, allocations: 4 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.005502, allocations: 34.56 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 3.005e-06/0.005505, allocations: 0 / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0005155/0.006021, allocations: 281.4 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.006059, allocations: 81.09 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.006165, allocations: 158.3 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.00618, allocations: 37.64 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.006229, allocations: 108 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.006256, allocations: 27.75 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.006296, allocations: 17.72 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.006373, allocations: 326.8 kB / 1.004 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.006516, allocations: 79.92 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.006651, allocations: 97.62 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.006904, allocations: 169.9 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.006906, allocations: 7.938 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002904/0.007197, allocations: 209.4 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.007211, allocations: 4 kB / 1.005 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.007218, allocations: 4 kB / 1.005 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.007233, allocations: 0 / 1.005 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.007362, allocations: 39.95 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.007367, allocations: 0 / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.007445, allocations: 27.95 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.007453, allocations: 4 kB / 1.005 GB, free: 7.691 MB / 0.9636 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.358e-05/0.007526, allocations: 129.8 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.007555, allocations: 19.84 kB / 1.005 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.007588, allocations: 16.34 kB / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.007591, allocations: 0 / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.007597, allocations: 4 kB / 1.005 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.0076, allocations: 4 kB / 1.005 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.007784, allocations: 180.6 kB / 1.005 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.007786, allocations: 0 / 1.005 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.007876, allocations: 35.95 kB / 1.005 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.007878, allocations: 0 / 1.005 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.00789, allocations: 8 kB / 1.005 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.007892, allocations: 0 / 1.005 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.007893, allocations: 0 / 1.005 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.008233, allocations: 390.6 kB / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.008248, allocations: 11.94 kB / 1.006 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.008262, allocations: 0 / 1.006 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.008372, allocations: 27.97 kB / 1.006 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.008419, allocations: 3.984 kB / 1.006 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.008424, allocations: 4 kB / 1.006 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.008486, allocations: 143.9 kB / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008487, allocations: 0 / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001801/0.008667, allocations: 23.94 kB / 1.006 GB, free: 6.633 MB / 0.9636 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.0005244/0.009191, allocations: 0.899 MB / 1.007 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003148/0.009506, allocations: 171.8 kB / 1.007 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.009508, allocations: 0 / 1.007 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.009641, allocations: 87.86 kB / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.0099, allocations: 14.23 kB / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.01163, allocations: 1.98 MB / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.469e-05/0.01171, allocations: 96.3 kB / 1.009 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.007e-05/0.01177, allocations: 35.91 kB / 1.009 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.01183, allocations: 36.47 kB / 1.009 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of SimCode: time 8.82e-07/0.01183, allocations: 0 / 1.009 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.028, allocations: 3.413 MB / 1.013 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/6.791, allocations: 2.031 kB / 1.013 GB, free: 15.92 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.89170900452882]