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.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.001545/0.001545, allocations: 104.2 kB / 16.45 MB, free: 6.504 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.001594/0.001594, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.529/1.529, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.179/3.179, allocations: 497.2 MB / 0.7811 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 69.09 kB / 1.134 GB, free: 33.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3902, allocations: 173.9 MB / 1.304 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002181/0.3924, allocations: 0.7706 MB / 1.305 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3934, allocations: 0.8355 MB / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.3935, allocations: 0 / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.3937, allocations: 55.8 kB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.3938, allocations: 39.83 kB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.861e-05/0.3938, allocations: 19.97 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.394, allocations: 87.75 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3941, allocations: 19.97 kB / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.373e-05/0.3942, allocations: 43.84 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.3944, allocations: 87.77 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.3944, allocations: 8 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.3944, allocations: 7.938 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/0.3945, allocations: 39.89 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.3946, allocations: 51.73 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.3947, allocations: 115.7 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3947, allocations: 0 / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.605e-06/0.3948, allocations: 0 / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3948, allocations: 4 kB / 1.306 GB, free: 15.23 MB / 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.0008991/0.3957, allocations: 462.8 kB / 1.307 GB, free: 14.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.3957, allocations: 12.92 kB / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.3958, allocations: 38.73 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.3958, allocations: 16.83 kB / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.396, allocations: 204.1 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3961, allocations: 4.375 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3961, allocations: 12.31 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.3965, allocations: 155.7 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3965, allocations: 3.938 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3965, allocations: 4 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3965, allocations: 4 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.397, allocations: 167.8 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.3979, allocations: 0.5008 MB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.3983, allocations: 165.1 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.3986, allocations: 89.73 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.3986, allocations: 0 / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.3986, allocations: 46.47 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.3986, allocations: 4 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0008875/0.3995, allocations: 269.4 kB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.3996, allocations: 89.05 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3997, allocations: 165.5 kB / 1.308 GB, free: 12.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.3998, allocations: 29.69 kB / 1.308 GB, free: 12.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.3998, allocations: 100.1 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.3999, allocations: 27.78 kB / 1.309 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.3999, allocations: 21.72 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4001, allocations: 326.8 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.4004, allocations: 79.92 kB / 1.309 GB, free: 12.03 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.4006, allocations: 89.64 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.4011, allocations: 173.6 kB / 1.309 GB, free: 11.76 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4011, allocations: 0 / 1.309 GB, free: 11.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005425/0.4016, allocations: 205.4 kB / 1.309 GB, free: 11.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4016, allocations: 8 kB / 1.309 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4016, allocations: 4 kB / 1.309 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4017, allocations: 0 / 1.309 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.4019, allocations: 39.95 kB / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4019, allocations: 3.938 kB / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.402, allocations: 19.97 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.402, allocations: 7.984 kB / 1.31 GB, free: 11.47 MB / 1.014 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.0001362/0.4022, allocations: 141.7 kB / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.4022, allocations: 11.91 kB / 1.31 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.466e-05/0.4023, allocations: 20.23 kB / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4023, allocations: 0 / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4023, allocations: 4 kB / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4023, allocations: 0 / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.4026, allocations: 229.5 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4026, allocations: 0 / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.4028, allocations: 39.95 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4028, allocations: 4 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4028, allocations: 7.938 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4028, allocations: 4 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4028, allocations: 0 / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.4035, allocations: 383.1 kB / 1.31 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.4036, allocations: 85.06 kB / 1.31 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.4036, allocations: 8 kB / 1.31 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.4038, allocations: 23.95 kB / 1.31 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.4038, allocations: 11.98 kB / 1.31 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.4038, allocations: 0 / 1.31 GB, free: 10.41 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001182/0.404, allocations: 127.2 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.404, allocations: 4 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002707/0.4042, allocations: 16 kB / 1.311 GB, free: 10.27 MB / 1.014 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.001185/0.4054, allocations: 0.9185 MB / 1.312 GB, free: 9.324 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005536/0.406, allocations: 163.8 kB / 1.312 GB, free: 9.164 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.406, allocations: 8 kB / 1.312 GB, free: 9.156 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.4062, allocations: 83.92 kB / 1.312 GB, free: 9.074 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.4066, allocations: 13.53 kB / 1.312 GB, free: 9.062 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.4095, allocations: 1.982 MB / 1.314 GB, free: 6.984 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.4099, allocations: 0.708 MB / 1.314 GB, free: 6.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.169e-05/0.41, allocations: 23.97 kB / 1.314 GB, free: 6.227 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.4101, allocations: 35.42 kB / 1.314 GB, free: 6.191 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.4101, allocations: 4 kB / 1.314 GB, free: 6.188 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.4392, allocations: 2.714 MB / 1.317 GB, free: 3.578 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.509, allocations: 8.516 kB / 1.317 GB, free: 3.574 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.255531682632864]