Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008359/0.0008359, 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.001334/0.001334, 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.8974/0.8974, allocations: 177.2 MB / 202.8 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.734/1.734, allocations: 377.8 MB / 0.6221 GB, free: 8.629 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.981 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.39e-05, allocations: 2.281 kB / 0.981 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001445/0.001469, allocations: 0.752 MB / 0.9818 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.00221, allocations: 0.851 MB / 0.9826 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.002261, allocations: 0 / 0.9826 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.002436, allocations: 59.73 kB / 0.9827 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.311e-05/0.002479, allocations: 39.83 kB / 0.9827 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 6.967e-05/0.002549, allocations: 19.97 kB / 0.9827 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.002651, allocations: 95.67 kB / 0.9828 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.002759, allocations: 12 kB / 0.9828 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.002837, allocations: 51.88 kB / 0.9829 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.002951, allocations: 83.83 kB / 0.9829 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.002975, allocations: 8 kB / 0.983 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.002986, allocations: 8 kB / 0.983 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.003039, allocations: 31.91 kB / 0.983 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.003076, allocations: 35.91 kB / 0.983 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.003196, allocations: 119.6 kB / 0.9831 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003198, allocations: 0 / 0.9831 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003199, allocations: 0 / 0.9831 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003203, allocations: 0 / 0.9831 GB, free: 15.17 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.0004882/0.003691, allocations: 401.7 kB / 0.9835 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.003731, allocations: 8.031 kB / 0.9835 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.003768, allocations: 34.75 kB / 0.9836 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.003792, allocations: 20.78 kB / 0.9836 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.003928, allocations: 148 kB / 0.9837 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.003936, allocations: 384 / 0.9837 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.003949, allocations: 8.375 kB / 0.9837 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.004184, allocations: 151.8 kB / 0.9839 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.004191, allocations: 192 / 0.9839 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.004203, allocations: 8.359 kB / 0.9839 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.004209, allocations: 4.125 kB / 0.9839 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.004474, allocations: 163.8 kB / 0.984 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.004962, allocations: 468.1 kB / 0.9845 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.005269, allocations: 165 kB / 0.9847 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.005402, allocations: 93.73 kB / 0.9847 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.005413, allocations: 4 kB / 0.9847 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.005431, allocations: 34.5 kB / 0.9848 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.005432, allocations: 0 / 0.9848 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.0004775/0.00591, allocations: 293.3 kB / 0.9851 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.005944, allocations: 81.05 kB / 0.9851 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.006035, allocations: 164.2 kB / 0.9853 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.006047, allocations: 33.64 kB / 0.9853 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.006093, allocations: 108.1 kB / 0.9854 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.006116, allocations: 23.75 kB / 0.9855 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.006151, allocations: 25.7 kB / 0.9855 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.006226, allocations: 322.8 kB / 0.9858 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.00635, allocations: 79.92 kB / 0.9859 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.006473, allocations: 89.64 kB / 0.9859 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.006715, allocations: 173.6 kB / 0.9861 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.006717, allocations: 0 / 0.9861 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002791/0.006996, allocations: 209.3 kB / 0.9863 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.007009, allocations: 7.984 kB / 0.9863 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.007014, allocations: 0 / 0.9863 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.007026, allocations: 4 kB / 0.9863 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.007128, allocations: 31.97 kB / 0.9864 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.007133, allocations: 3.938 kB / 0.9864 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.007195, allocations: 31.95 kB / 0.9864 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.007201, allocations: 0 / 0.9864 GB, free: 11.61 MB / 0.9011 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 6.682e-05/0.007268, allocations: 129.8 kB / 0.9865 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.007294, allocations: 19.89 kB / 0.9865 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.007321, allocations: 16.34 kB / 0.9865 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.007323, allocations: 4 kB / 0.9865 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.007328, allocations: 0 / 0.9865 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007331, allocations: 3.984 kB / 0.9866 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.0075, allocations: 188.6 kB / 0.9867 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007501, allocations: 0 / 0.9867 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.007574, allocations: 35.95 kB / 0.9868 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.007575, allocations: 0 / 0.9868 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.007583, allocations: 4 kB / 0.9868 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.007584, allocations: 0 / 0.9868 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.007586, allocations: 4 kB / 0.9868 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.007903, allocations: 378.5 kB / 0.9871 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.007914, allocations: 12.38 kB / 0.9871 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.007926, allocations: 4 kB / 0.9872 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.008017, allocations: 23.97 kB / 0.9872 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.008059, allocations: 15.97 kB / 0.9872 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.008065, allocations: 8 kB / 0.9872 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.396e-05/0.008119, allocations: 119.9 kB / 0.9873 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.008119, allocations: 0 / 0.9873 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001782/0.008297, allocations: 23.94 kB / 0.9873 GB, free: 10.57 MB / 0.9011 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.0004743/0.008771, allocations: 0.9148 MB / 0.9882 GB, free: 9.629 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.009111, allocations: 167.8 kB / 0.9884 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.009113, allocations: 0 / 0.9884 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.009241, allocations: 91.86 kB / 0.9885 GB, free: 9.375 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.00948, allocations: 11.98 kB / 0.9885 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.01114, allocations: 1.98 MB / 0.9904 GB, free: 7.289 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.651e-05/0.0112, allocations: 96.3 kB / 0.9905 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 5.377e-05/0.01126, allocations: 31.97 kB / 0.9905 GB, free: 7.145 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.01131, allocations: 32.48 kB / 0.9906 GB, free: 7.113 MB / 0.9011 GB Notification: Performance of SimCode: time 6.22e-07/0.01131, allocations: 0 / 0.9906 GB, free: 7.113 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.02571, allocations: 3.412 MB / 0.9939 GB, free: 3.852 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/6.849, allocations: 10.02 kB / 0.9939 GB, free: 3.844 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai.u[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.y[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.u[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.u[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.940828425809741]