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.001399/0.001399, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001702/0.001702, allocations: 211.5 kB / 22.24 MB, free: 5.262 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.738 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.191/3.191, allocations: 0.4892 GB / 0.7943 GB, free: 35.31 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.002106/0.002106, allocations: 73.34 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3451, allocations: 176.1 MB / 1.325 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002073/0.3472, allocations: 0.7483 MB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3483, allocations: 0.8588 MB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.3483, allocations: 4 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.3485, allocations: 63.78 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.3486, allocations: 27.84 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.3487, allocations: 23.97 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.3489, allocations: 95.67 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.349, allocations: 12 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.349, allocations: 43.83 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3492, allocations: 83.77 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.3492, allocations: 12 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.953e-05/0.3492, allocations: 8 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.3493, allocations: 35.91 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.3494, allocations: 31.8 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.3495, allocations: 131.7 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3495, allocations: 0 / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3495, allocations: 4 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.3495, allocations: 0 / 1.327 GB, free: 124 kB / 1.014 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.0007884/0.3503, allocations: 393.7 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3504, allocations: 8.031 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.716e-05/0.3504, allocations: 34.75 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.3504, allocations: 16.84 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.3507, allocations: 145.2 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3507, allocations: 384 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.3507, allocations: 8.375 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/0.3511, allocations: 151.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3511, allocations: 3.938 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3511, allocations: 7.984 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3511, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.3516, allocations: 163.8 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/0.3525, allocations: 475.9 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.3529, allocations: 161.1 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.3532, allocations: 93.67 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3532, allocations: 7.938 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3532, allocations: 34.56 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3532, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0008927/0.3541, allocations: 285.7 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.3542, allocations: 81.11 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.3543, allocations: 163.1 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3544, allocations: 25.7 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.3544, allocations: 104.1 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.3545, allocations: 31.73 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.3545, allocations: 25.66 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3547, allocations: 326.8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.355, allocations: 79.92 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.3552, allocations: 93.64 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.3557, allocations: 173.5 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3557, allocations: 4 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005593/0.3563, allocations: 205.5 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3563, allocations: 4 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3563, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3563, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.3566, allocations: 43.89 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3566, allocations: 0 / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.3567, allocations: 27.92 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3567, allocations: 0 / 1.33 GB, free: 12.58 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.0001361/0.3568, allocations: 134.3 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.3569, allocations: 7.953 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.3569, allocations: 24.33 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.357, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.357, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.357, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.3573, allocations: 192.6 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3573, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.3575, allocations: 39.89 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3575, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3575, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3575, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3575, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.3581, allocations: 386.5 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.3581, allocations: 7.953 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.3582, allocations: 4 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3584, allocations: 23.95 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.3584, allocations: 15.98 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.3584, allocations: 7.938 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000106/0.3585, allocations: 125 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3585, allocations: 3.938 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002803/0.3588, allocations: 23.95 kB / 1.331 GB, free: 11.52 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.001012/0.3598, allocations: 0.9146 MB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005902/0.3604, allocations: 168 kB / 1.332 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3604, allocations: 0 / 1.332 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.3607, allocations: 88.05 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.3611, allocations: 21.8 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.3642, allocations: 1.973 MB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.3643, allocations: 96.17 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.3644, allocations: 31.97 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.141e-05/0.3645, allocations: 31.42 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of SimCode: time 1.152e-06/0.3645, allocations: 0 / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.4029, allocations: 3.281 MB / 1.338 GB, free: 4.934 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.15, allocations: 2.234 kB / 1.338 GB, free: 4.934 MB / 1.029 GB " [Timeout remaining time 288] (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: 19.091349098831415]