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.001492/0.001492, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001402/0.001402, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.47/1.47, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.214/3.214, allocations: 0.49 GB / 0.7916 GB, free: 33.24 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",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.002038/0.002038, allocations: 69.7 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3532, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002303/0.3555, allocations: 0.782 MB / 1.322 GB, free: 2.543 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3567, allocations: 0.8591 MB / 1.322 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.744e-05/0.3568, allocations: 4 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.357, allocations: 59.8 kB / 1.323 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/0.3571, allocations: 35.83 kB / 1.323 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.244e-05/0.3572, allocations: 19.97 kB / 1.323 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3573, allocations: 83.81 kB / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.3575, allocations: 23.92 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3576, allocations: 43.83 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.3578, allocations: 87.77 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.3578, allocations: 8 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.894e-05/0.3578, allocations: 8 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.3579, allocations: 39.84 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.425e-05/0.358, allocations: 43.67 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.3582, allocations: 123.8 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3582, allocations: 0 / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3582, allocations: 4 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.3582, allocations: 0 / 1.323 GB, free: 1.098 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.0009465/0.3592, allocations: 466.8 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3592, allocations: 11.98 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.064e-05/0.3593, allocations: 38.75 kB / 1.324 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.3593, allocations: 16.84 kB / 1.324 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.3596, allocations: 209.9 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3596, allocations: 4.375 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.3596, allocations: 4.375 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.3601, allocations: 147.9 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3601, allocations: 3.938 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3601, allocations: 4 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3601, allocations: 0 / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006262/0.3607, allocations: 171.8 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009606/0.3617, allocations: 0.5008 MB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.3621, allocations: 165.1 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.3624, allocations: 93.67 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3624, allocations: 4 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3625, allocations: 30.56 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.3625, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0009579/0.3634, allocations: 285.3 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.3635, allocations: 85.05 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3637, allocations: 164.2 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3637, allocations: 33.7 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.3638, allocations: 104.1 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.3638, allocations: 27.75 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.3639, allocations: 21.7 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.364, allocations: 326.8 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.3643, allocations: 75.92 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.3646, allocations: 93.64 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/0.3651, allocations: 173.9 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3651, allocations: 0 / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006106/0.3657, allocations: 205.4 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3658, allocations: 4 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3658, allocations: 3.984 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3658, allocations: 4 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.366, allocations: 35.97 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.366, allocations: 4 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.3662, allocations: 35.84 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3662, allocations: 7.938 kB / 1.326 GB, free: 13.33 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.0001238/0.3663, allocations: 129.8 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.3664, allocations: 11.95 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.3664, allocations: 20.25 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3664, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3664, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3664, allocations: 3.984 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.3668, allocations: 233.5 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3668, allocations: 0 / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.3669, allocations: 35.95 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3669, allocations: 0 / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.367, allocations: 4 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.367, allocations: 0 / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.367, allocations: 11.94 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.3677, allocations: 374.5 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.3677, allocations: 89.06 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3677, allocations: 3.984 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.368, allocations: 27.97 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.368, allocations: 7.984 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.368, allocations: 4 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001039/0.3681, allocations: 121 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3681, allocations: 0 / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002863/0.3684, allocations: 23.95 kB / 1.327 GB, free: 12.15 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.001084/0.3695, allocations: 0.9146 MB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006097/0.3701, allocations: 167.8 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3701, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.3704, allocations: 95.91 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3708, allocations: 9.547 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.3738, allocations: 1.977 MB / 1.331 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3742, allocations: 0.7119 MB / 1.331 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.664e-05/0.3743, allocations: 27.95 kB / 1.331 GB, free: 8.105 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.3744, allocations: 31.42 kB / 1.331 GB, free: 8.074 MB / 1.029 GB Notification: Performance of SimCode: time 6.12e-07/0.3744, allocations: 0 / 1.331 GB, free: 8.074 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.4018, allocations: 2.713 MB / 1.334 GB, free: 5.461 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/8.737, allocations: 8.672 kB / 1.334 GB, free: 5.457 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.44964365591295]