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.001666/0.001666, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002224/0.002224, allocations: 218.1 kB / 23.04 MB, free: 5.078 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 8 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.222/3.222, allocations: 0.49 GB / 0.7959 GB, free: 33.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_12_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.002036/0.002036, allocations: 63.02 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3946, allocations: 176.1 MB / 1.327 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002515/0.3971, allocations: 0.7717 MB / 1.327 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3985, allocations: 0.8665 MB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.3986, allocations: 4 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.3988, allocations: 63.78 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.3989, allocations: 31.84 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.987e-05/0.399, allocations: 19.97 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.3991, allocations: 91.73 kB / 1.329 GB, free: 60 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3993, allocations: 19.88 kB / 1.329 GB, free: 40 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3994, allocations: 43.94 kB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3996, allocations: 87.72 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.3996, allocations: 4 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.602e-05/0.3996, allocations: 12 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.3997, allocations: 35.91 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.3997, allocations: 47.67 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.3999, allocations: 123.7 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3999, allocations: 0 / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3999, allocations: 0 / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.4, allocations: 4 kB / 1.329 GB, free: 15.69 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.0009127/0.4009, allocations: 389.7 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4009, allocations: 12.03 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.321e-05/0.4009, allocations: 192 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.401, allocations: 38.75 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.401, allocations: 16.84 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.4012, allocations: 148.1 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.4012, allocations: 4.375 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.4012, allocations: 4.375 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.4017, allocations: 155.6 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4017, allocations: 3.984 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.4017, allocations: 7.984 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4017, allocations: 0 / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.4023, allocations: 167.8 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/0.4032, allocations: 491.8 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.4036, allocations: 161.1 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.4038, allocations: 85.73 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.4039, allocations: 8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.4039, allocations: 34.56 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.4039, allocations: 0 / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0009279/0.4048, allocations: 285.3 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.4049, allocations: 81.11 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.405, allocations: 160.4 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.4051, allocations: 29.7 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.4052, allocations: 104.1 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.4052, allocations: 31.73 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.4053, allocations: 21.72 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4054, allocations: 330.8 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.4057, allocations: 75.92 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.406, allocations: 93.62 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.4065, allocations: 177.5 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4065, allocations: 0 / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005832/0.4071, allocations: 213.4 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4071, allocations: 4 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4071, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4071, allocations: 4.469 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.4073, allocations: 31.95 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4073, allocations: 4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.4075, allocations: 27.92 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.4075, allocations: 0 / 1.332 GB, free: 12.12 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.0001216/0.4076, allocations: 134.3 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.4077, allocations: 11.95 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.202e-05/0.4077, allocations: 20.33 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.4077, allocations: 3.984 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4077, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.4077, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.408, allocations: 204.5 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4081, allocations: 4 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.4082, allocations: 39.89 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4082, allocations: 0 / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4082, allocations: 3.938 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4082, allocations: 4 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4083, allocations: 4 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.4089, allocations: 378.5 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.4089, allocations: 11.94 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.409, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.4092, allocations: 23.97 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.4092, allocations: 19.92 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.4093, allocations: 0 / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001048/0.4094, allocations: 129.2 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4094, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002783/0.4096, allocations: 23.89 kB / 1.333 GB, free: 11.05 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.001035/0.4107, allocations: 0.903 MB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005925/0.4113, allocations: 176.1 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4113, allocations: 0 / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.4115, allocations: 87.86 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.4119, allocations: 14.02 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.415, allocations: 1.984 MB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.4154, allocations: 0.7057 MB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.63e-05/0.4155, allocations: 35.95 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.902e-05/0.4156, allocations: 31.44 kB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.4156, allocations: 0 / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.4399, allocations: 2.865 MB / 1.34 GB, free: 4.262 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.88, allocations: 1.5 kB / 1.34 GB, free: 4.262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.94805686600739]