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.001292/0.001292, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001483/0.001483, allocations: 216.3 kB / 22.25 MB, free: 5.125 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.289/3.289, allocations: 0.49 GB / 0.7951 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002042/0.002042, allocations: 76 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4303, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002623/0.4329, allocations: 0.7719 MB / 1.327 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.4343, allocations: 0.8665 MB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.962e-05/0.4343, allocations: 4 kB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.4346, allocations: 55.8 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.933e-05/0.4347, allocations: 43.83 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.966e-05/0.4348, allocations: 15.97 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000172/0.4349, allocations: 95.69 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.4351, allocations: 11.94 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.4352, allocations: 47.88 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.4354, allocations: 87.78 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.4354, allocations: 8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.4354, allocations: 8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.4355, allocations: 35.89 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.4356, allocations: 47.67 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.4357, allocations: 115.8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4357, allocations: 4 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4357, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.4357, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 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.0007396/0.4365, allocations: 389.7 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.4365, allocations: 12.03 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.4365, allocations: 38.69 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.4366, allocations: 16.84 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.4368, allocations: 146.3 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.4368, allocations: 4.375 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.4368, allocations: 4.375 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.4373, allocations: 155.8 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4373, allocations: 7.875 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.4373, allocations: 4 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-06/0.4373, allocations: 0 / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.4379, allocations: 167.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000927/0.4388, allocations: 491.8 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.4392, allocations: 157.1 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.4395, allocations: 93.73 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.4395, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.4395, allocations: 38.5 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.4395, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0009003/0.4404, allocations: 285.3 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.4405, allocations: 77.11 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.4406, allocations: 167.9 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.4406, allocations: 29.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.4407, allocations: 108.1 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.4408, allocations: 31.73 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.4408, allocations: 17.72 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.441, allocations: 326.8 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.4412, allocations: 83.92 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.4414, allocations: 89.64 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.4419, allocations: 173.9 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4419, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005341/0.4424, allocations: 209.5 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4425, allocations: 7.938 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.4425, allocations: 4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.4425, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.4427, allocations: 39.89 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.4427, allocations: 0 / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.4428, allocations: 31.92 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.4428, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 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.0001774/0.443, allocations: 132.5 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.443, allocations: 11.95 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.637e-05/0.4431, allocations: 24.33 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4431, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4431, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.4431, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.4434, allocations: 196.5 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4434, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.4436, allocations: 31.95 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.4436, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4436, allocations: 7.938 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4436, allocations: 3.938 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4436, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006161/0.4442, allocations: 386.5 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.4443, allocations: 11.94 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.4443, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.4445, allocations: 23.97 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.4445, allocations: 7.984 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.4445, allocations: 8 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001018/0.4446, allocations: 119.2 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4446, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002723/0.4449, allocations: 24 kB / 1.332 GB, free: 11.08 MB / 1.029 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.001089/0.446, allocations: 0.9107 MB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006149/0.4466, allocations: 167.8 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4466, allocations: 0 / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.4469, allocations: 91.92 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.4472, allocations: 25.61 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.4502, allocations: 1.977 MB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.4506, allocations: 0.708 MB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.663e-05/0.4507, allocations: 31.95 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.4507, allocations: 31.42 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4507, allocations: 0 / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.4802, allocations: 2.841 MB / 1.339 GB, free: 4.301 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.37, allocations: 6.094 kB / 1.339 GB, free: 4.297 MB / 1.029 GB " [Timeout remaining time 289] (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/jenkins1/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: 18.47419619500033]