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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 108.3 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 190.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.491/2.491, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001837/0.001837, allocations: 71.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8203, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00172/0.822, allocations: 0.78 MB / 1.272 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000724/0.8228, allocations: 0.8345 MB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.8228, allocations: 0.9688 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.823, allocations: 53.67 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.8231, allocations: 40.78 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.512e-05/0.8231, allocations: 17.44 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.8233, allocations: 88.89 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.8234, allocations: 16.64 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.8234, allocations: 46.36 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.8236, allocations: 88.86 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.8236, allocations: 11.09 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.8236, allocations: 8.156 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.8237, allocations: 37.31 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.8238, allocations: 41.73 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.8239, allocations: 118.7 kB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.8239, allocations: 0 / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8239, allocations: 1.031 kB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.8239, allocations: 0 / 1.274 GB, free: 6.406 MB / 0.9981 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.0006216/0.8245, allocations: 476.9 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.8246, allocations: 10.03 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.8246, allocations: 33.45 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.8246, allocations: 12.98 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.8248, allocations: 214.6 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.8248, allocations: 3.125 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.8248, allocations: 7.344 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.8251, allocations: 150.5 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.8251, allocations: 3.938 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.8251, allocations: 0.9688 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.8252, allocations: 1.625 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.8256, allocations: 176 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006471/0.8263, allocations: 0.4957 MB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.8267, allocations: 155 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.8269, allocations: 97.2 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.8269, allocations: 0.875 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.8269, allocations: 32.75 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.8269, allocations: 0 / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0008397/0.8278, allocations: 289 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.8278, allocations: 79.84 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.8279, allocations: 165.1 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.8279, allocations: 25.7 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.8279, allocations: 113.2 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.828, allocations: 33.38 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.828, allocations: 26.06 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.8281, allocations: 327.1 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.8283, allocations: 77.44 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.8285, allocations: 97.12 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.829, allocations: 168.8 kB / 1.277 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.829, allocations: 0 / 1.277 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005163/0.8295, allocations: 221.1 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.8295, allocations: 5.406 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.8295, allocations: 0 / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.8295, allocations: 1.781 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.8297, allocations: 34.16 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.8297, allocations: 0.6875 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.8299, allocations: 33.94 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.8299, allocations: 1.594 kB / 1.277 GB, free: 4.074 MB / 0.9981 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.608e-05/0.8299, allocations: 131.7 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.83, allocations: 12.62 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.83, allocations: 22.97 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.83, allocations: 1.688 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.83, allocations: 0.5938 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.83, allocations: 4.719 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.8303, allocations: 223.6 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8303, allocations: 0.8438 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.8304, allocations: 36.02 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8304, allocations: 0.8438 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.8304, allocations: 1 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.8304, allocations: 0.8438 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.8304, allocations: 0.875 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/0.831, allocations: 385.2 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.831, allocations: 88.58 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.831, allocations: 3 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.8312, allocations: 34.7 kB / 1.278 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.8312, allocations: 7.453 kB / 1.278 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.8313, allocations: 2.344 kB / 1.278 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.513e-05/0.8313, allocations: 123.7 kB / 1.278 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8313, allocations: 4.844 kB / 1.278 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002632/0.8316, allocations: 23.56 kB / 1.278 GB, free: 3.238 MB / 0.9981 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.0008398/0.8324, allocations: 0.9164 MB / 1.279 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005794/0.833, allocations: 167.7 kB / 1.279 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.833, allocations: 0 / 1.279 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.8333, allocations: 92.05 kB / 1.279 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.8336, allocations: 16.33 kB / 1.279 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.8365, allocations: 1.975 MB / 1.281 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.8368, allocations: 0.7148 MB / 1.282 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.502e-05/0.8369, allocations: 30.77 kB / 1.282 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.837, allocations: 29.75 kB / 1.282 GB, free: 16.21 MB / 1.014 GB Notification: Performance of SimCode: time 4.9e-07/0.837, allocations: 1.062 kB / 1.282 GB, free: 16.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.8625, allocations: 2.676 MB / 1.284 GB, free: 15.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/7.809, allocations: 16.89 kB / 1.285 GB, free: 15.76 MB / 1.014 GB " [Timeout remaining time 292] (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/jenkins1/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: 13.22795008099638]