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.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.002099/0.002099, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001951/0.001951, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.614/1.614, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.009/3.009, allocations: 476.7 MB / 0.7678 GB, free: 9.359 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_11_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.002146/0.002146, allocations: 67.91 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002211/1.053, allocations: 0.7752 MB / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00126/1.055, allocations: 0.8634 MB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/1.055, allocations: 5.156 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002475/1.055, allocations: 53.2 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.24e-05/1.055, allocations: 40.7 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.341e-05/1.055, allocations: 17.95 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/1.055, allocations: 85.89 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/1.055, allocations: 21.89 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.951e-05/1.056, allocations: 43.23 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/1.056, allocations: 95.94 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/1.056, allocations: 8.062 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.049e-05/1.056, allocations: 7.719 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.113e-05/1.056, allocations: 37.8 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/1.056, allocations: 45.42 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/1.056, allocations: 113.2 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.056, allocations: 9.125 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.224e-06/1.056, allocations: 0.75 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.056, allocations: 0 / 1.281 GB, free: 10.36 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.001056/1.057, allocations: 473.2 kB / 1.282 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/1.057, allocations: 9.406 kB / 1.282 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.561e-05/1.057, allocations: 1.844 kB / 1.282 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/1.057, allocations: 38.61 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/1.057, allocations: 14.25 kB / 1.282 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/1.058, allocations: 203 kB / 1.282 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/1.058, allocations: 6.625 kB / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/1.058, allocations: 7.531 kB / 1.282 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/1.058, allocations: 151.9 kB / 1.282 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/1.058, allocations: 0.5312 kB / 1.282 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/1.058, allocations: 4.5 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/1.058, allocations: 1.625 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006625/1.059, allocations: 171.8 kB / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009242/1.06, allocations: 0.5009 MB / 1.283 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/1.06, allocations: 161.6 kB / 1.283 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/1.061, allocations: 92.8 kB / 1.283 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/1.061, allocations: 5.156 kB / 1.283 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/1.061, allocations: 32.47 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/1.061, allocations: 0 / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0009785/1.062, allocations: 288.8 kB / 1.283 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/1.062, allocations: 79.12 kB / 1.283 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/1.062, allocations: 161 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/1.062, allocations: 31.02 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/1.062, allocations: 116.4 kB / 1.284 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/1.062, allocations: 29.44 kB / 1.284 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/1.062, allocations: 21.12 kB / 1.284 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.062, allocations: 326.6 kB / 1.284 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/1.062, allocations: 75.47 kB / 1.284 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/1.063, allocations: 92.53 kB / 1.284 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/1.063, allocations: 169.3 kB / 1.284 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.063, allocations: 0 / 1.284 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006056/1.064, allocations: 208.8 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.064, allocations: 4.844 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/1.064, allocations: 5.062 kB / 1.284 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/1.064, allocations: 1.922 kB / 1.285 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/1.064, allocations: 38.05 kB / 1.285 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.064, allocations: 1.406 kB / 1.285 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/1.064, allocations: 27.52 kB / 1.285 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/1.064, allocations: 2.25 kB / 1.285 GB, free: 8.039 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 0.0001188/1.064, allocations: 139.4 kB / 1.285 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/1.064, allocations: 13.66 kB / 1.285 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/1.065, allocations: 18.05 kB / 1.285 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/1.065, allocations: 1.219 kB / 1.285 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.065, allocations: 5.922 kB / 1.285 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.065, allocations: 2 kB / 1.285 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/1.065, allocations: 225.2 kB / 1.285 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.065, allocations: 1.703 kB / 1.285 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/1.065, allocations: 34.09 kB / 1.285 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.065, allocations: 1.438 kB / 1.285 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/1.065, allocations: 5.406 kB / 1.285 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.065, allocations: 0.6562 kB / 1.285 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.065, allocations: 1.281 kB / 1.285 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/1.066, allocations: 386.9 kB / 1.285 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/1.066, allocations: 84.22 kB / 1.285 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/1.066, allocations: 10.06 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/1.066, allocations: 23.62 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/1.066, allocations: 11.44 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/1.066, allocations: 1.344 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.713e-05/1.066, allocations: 121.4 kB / 1.286 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.066, allocations: 0 / 1.286 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002887/1.066, allocations: 27.38 kB / 1.286 GB, free: 7.199 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.001036/1.068, allocations: 0.91 MB / 1.287 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000639/1.068, allocations: 175.1 kB / 1.287 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.068, allocations: 0 / 1.287 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/1.068, allocations: 91.91 kB / 1.287 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/1.069, allocations: 17.22 kB / 1.287 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/1.072, allocations: 1.98 MB / 1.289 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/1.072, allocations: 0.7141 MB / 1.289 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.018e-05/1.072, allocations: 28.23 kB / 1.289 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/1.072, allocations: 29.8 kB / 1.289 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.072, allocations: 0 / 1.289 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/1.093, allocations: 2.751 MB / 1.292 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/9.487, allocations: 14.86 kB / 1.292 GB, free: 3.68 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.203714502044022]