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.001297/0.001297, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001447/0.001447, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.302/3.302, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 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.002758/0.002758, allocations: 71.88 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4452, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002196/0.4474, allocations: 0.7752 MB / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.4487, allocations: 0.8626 MB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.4488, allocations: 3.938 kB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.449, allocations: 55.86 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.643e-05/0.4491, allocations: 43.77 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.626e-05/0.4492, allocations: 15.97 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.4493, allocations: 87.81 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.4495, allocations: 19.92 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/0.4496, allocations: 47.83 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.4497, allocations: 83.78 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.4498, allocations: 8 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.819e-05/0.4498, allocations: 8 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.4499, allocations: 35.89 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.4499, allocations: 51.67 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.4501, allocations: 119.7 kB / 1.348 GB, free: 14.24 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4501, allocations: 0 / 1.348 GB, free: 14.24 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4501, allocations: 0 / 1.348 GB, free: 14.24 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.4501, allocations: 4 kB / 1.348 GB, free: 14.24 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.0008638/0.451, allocations: 385.7 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.451, allocations: 12.03 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.942e-05/0.4511, allocations: 4.172 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.4511, allocations: 38.75 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.4511, allocations: 16.84 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.4514, allocations: 146.3 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.4514, allocations: 8.297 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.4514, allocations: 4.375 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.4518, allocations: 151.6 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4518, allocations: 0 / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4518, allocations: 4 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4518, allocations: 0 / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.4524, allocations: 167.8 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008545/0.4532, allocations: 495.8 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.4536, allocations: 165 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.4539, allocations: 93.73 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.4539, allocations: 0 / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.454, allocations: 34.56 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.454, allocations: 0 / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.000927/0.4549, allocations: 289.3 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.4549, allocations: 77.11 kB / 1.35 GB, free: 12.01 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.4551, allocations: 162.2 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.4551, allocations: 37.7 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.4552, allocations: 100.1 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.4553, allocations: 27.75 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.4553, allocations: 21.7 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4555, allocations: 326.8 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.4557, allocations: 75.92 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.456, allocations: 97.58 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.4565, allocations: 173.9 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4565, allocations: 0 / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000569/0.457, allocations: 205.4 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4571, allocations: 11.92 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4571, allocations: 0 / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4571, allocations: 4 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.4573, allocations: 31.97 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4573, allocations: 3.984 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.4574, allocations: 31.92 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.4575, allocations: 0 / 1.351 GB, free: 10.67 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.0001167/0.4576, allocations: 129.8 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.4576, allocations: 7.953 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.4577, allocations: 28.34 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4577, allocations: 3.938 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4577, allocations: 3.984 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4577, allocations: 0 / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.458, allocations: 204.5 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.458, allocations: 0 / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.4582, allocations: 35.95 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4582, allocations: 0 / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.4582, allocations: 0 / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4582, allocations: 3.938 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4582, allocations: 4 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.4588, allocations: 382.5 kB / 1.352 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.4589, allocations: 15.91 kB / 1.352 GB, free: 9.789 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.4589, allocations: 3.984 kB / 1.352 GB, free: 9.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.4591, allocations: 27.97 kB / 1.352 GB, free: 9.758 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.4591, allocations: 3.984 kB / 1.352 GB, free: 9.754 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.4592, allocations: 8 kB / 1.352 GB, free: 9.746 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001029/0.4593, allocations: 120.1 kB / 1.352 GB, free: 9.629 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4593, allocations: 0 / 1.352 GB, free: 9.629 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002887/0.4595, allocations: 23.94 kB / 1.352 GB, free: 9.605 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.0009864/0.4605, allocations: 0.9069 MB / 1.353 GB, free: 8.672 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005685/0.4611, allocations: 163.8 kB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4611, allocations: 0 / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.4614, allocations: 95.86 kB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.4618, allocations: 17.38 kB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.4647, allocations: 1.985 MB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.465, allocations: 0.7117 MB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.502e-05/0.4651, allocations: 27.95 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.4652, allocations: 31.42 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of SimCode: time 1.042e-06/0.4652, allocations: 0 / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.4903, allocations: 2.861 MB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.81, allocations: 9.375 kB / 1.358 GB, free: 2.816 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.899922146985773]