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.001859/0.001859, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002331/0.002331, allocations: 215.3 kB / 23.03 MB, free: 4.922 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.347/3.347, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="cs",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.001979/0.001979, allocations: 60.45 kB / 1.171 GB, free: 19.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4372, allocations: 179 MB / 1.345 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00277/0.44, allocations: 0.7406 MB / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4411, allocations: 0.8549 MB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.149e-05/0.4412, allocations: 7.938 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.4414, allocations: 59.8 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.4415, allocations: 31.83 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.749e-05/0.4415, allocations: 19.98 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.4417, allocations: 87.75 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.4418, allocations: 19.97 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.4419, allocations: 43.84 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.4421, allocations: 87.7 kB / 1.347 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.4421, allocations: 8 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.4421, allocations: 12 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.4422, allocations: 39.89 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.4423, allocations: 35.8 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.4424, allocations: 119.7 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4424, allocations: 4 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4424, allocations: 0 / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.4424, allocations: 0 / 1.347 GB, free: 13.71 MB / 1.045 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.0008119/0.4433, allocations: 389.7 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4433, allocations: 8.031 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.639e-05/0.4433, allocations: 8.125 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.4434, allocations: 38.73 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.4434, allocations: 16.83 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.4436, allocations: 142.3 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.4436, allocations: 4.375 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.4436, allocations: 8.375 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.4441, allocations: 151.6 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4441, allocations: 0 / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4441, allocations: 4 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4441, allocations: 7.938 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.4446, allocations: 167.8 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/0.4455, allocations: 471.9 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.4459, allocations: 157.1 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.4462, allocations: 97.72 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.4462, allocations: 0 / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.4463, allocations: 38.56 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.4463, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0008969/0.4472, allocations: 285.3 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.4472, allocations: 85.09 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.4474, allocations: 162.2 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.4474, allocations: 25.7 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.4475, allocations: 104.1 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.4475, allocations: 27.75 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.4476, allocations: 25.66 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4477, allocations: 326.8 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.448, allocations: 79.92 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.4483, allocations: 97.61 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.4487, allocations: 173.9 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4487, allocations: 0 / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005433/0.4493, allocations: 209.4 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4493, allocations: 10.19 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4493, allocations: 4 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4493, allocations: 0 / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.4495, allocations: 39.95 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.4495, allocations: 0 / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.4497, allocations: 27.95 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.4497, allocations: 0 / 1.351 GB, free: 10.15 MB / 1.045 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.0001257/0.4498, allocations: 137.7 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.4499, allocations: 7.953 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.4499, allocations: 16.34 kB / 1.351 GB, free: 9.977 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4499, allocations: 4 kB / 1.351 GB, free: 9.973 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4499, allocations: 4 kB / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4499, allocations: 0 / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.4502, allocations: 196.5 kB / 1.351 GB, free: 9.734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4502, allocations: 4 kB / 1.351 GB, free: 9.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.4504, allocations: 31.95 kB / 1.351 GB, free: 9.699 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.4504, allocations: 4 kB / 1.351 GB, free: 9.695 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4504, allocations: 0 / 1.351 GB, free: 9.695 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4504, allocations: 0 / 1.351 GB, free: 9.695 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4504, allocations: 0 / 1.351 GB, free: 9.695 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.4511, allocations: 382.5 kB / 1.351 GB, free: 9.305 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.4511, allocations: 19.83 kB / 1.351 GB, free: 9.285 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.4511, allocations: 0 / 1.351 GB, free: 9.285 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.4513, allocations: 27.97 kB / 1.351 GB, free: 9.258 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.4514, allocations: 7.984 kB / 1.351 GB, free: 9.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.4514, allocations: 4 kB / 1.351 GB, free: 9.246 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000111/0.4515, allocations: 132 kB / 1.352 GB, free: 9.117 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4515, allocations: 0 / 1.352 GB, free: 9.117 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002959/0.4518, allocations: 23.94 kB / 1.352 GB, free: 9.094 MB / 1.045 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.0009852/0.4528, allocations: 0.9068 MB / 1.353 GB, free: 8.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005815/0.4534, allocations: 171.8 kB / 1.353 GB, free: 7.992 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4534, allocations: 0 / 1.353 GB, free: 7.992 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.4536, allocations: 87.92 kB / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.454, allocations: 15.98 kB / 1.353 GB, free: 7.891 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.4574, allocations: 1.97 MB / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.4575, allocations: 96.66 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000133/0.4576, allocations: 31.95 kB / 1.355 GB, free: 5.672 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.4577, allocations: 27.44 kB / 1.355 GB, free: 5.645 MB / 1.045 GB Notification: Performance of SimCode: time 9.02e-07/0.4577, allocations: 4 kB / 1.355 GB, free: 5.641 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.4866, allocations: 2.924 MB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.87, allocations: 7.062 kB / 1.358 GB, free: 2.879 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.996624325984158]