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.001678/0.001678, 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.002526/0.002526, allocations: 219.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.673/1.673, allocations: 230.6 MB / 256.8 MB, free: 7.996 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 2.818/2.818, allocations: 476.8 MB / 0.7715 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] 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.002076/0.002076, allocations: 62.22 kB / 1.118 GB, free: 40.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3672, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002165/0.3693, allocations: 0.7687 MB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3705, allocations: 0.8666 MB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.3706, allocations: 7.938 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3708, allocations: 51.84 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.3709, allocations: 35.83 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.809e-05/0.3709, allocations: 23.91 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.3711, allocations: 91.75 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3712, allocations: 15.98 kB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.3713, allocations: 43.89 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.3715, allocations: 87.78 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.3715, allocations: 8 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.3715, allocations: 8 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.3716, allocations: 39.84 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.3717, allocations: 43.73 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.3718, allocations: 120.1 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3718, allocations: 4 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3718, allocations: 0 / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3718, allocations: 0 / 1.286 GB, free: 9.496 MB / 0.9825 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.0008468/0.3727, allocations: 393.7 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3727, allocations: 8.031 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.755e-05/0.3728, allocations: 192 / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.3728, allocations: 38.75 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.3728, allocations: 12.84 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.3731, allocations: 151.6 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3731, allocations: 12.38 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.3731, allocations: 12.3 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.3735, allocations: 151.6 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3736, allocations: 0 / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3736, allocations: 3.938 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3736, allocations: 0 / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.3741, allocations: 171.8 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008822/0.375, allocations: 483.8 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.3754, allocations: 161.1 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.3757, allocations: 89.73 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.3757, allocations: 8 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3758, allocations: 34.56 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.093e-06/0.3758, allocations: 0 / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0009313/0.3767, allocations: 285.3 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.3768, allocations: 81.11 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.3769, allocations: 160 kB / 1.289 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.377, allocations: 25.7 kB / 1.289 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.3771, allocations: 108 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.3771, allocations: 35.73 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.3772, allocations: 21.72 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3773, allocations: 326.8 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.3776, allocations: 79.91 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.3779, allocations: 97.58 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.3784, allocations: 169.6 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3784, allocations: 0 / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005661/0.3789, allocations: 209.8 kB / 1.29 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.379, allocations: 4 kB / 1.29 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.379, allocations: 0 / 1.29 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.379, allocations: 4.094 kB / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.3792, allocations: 35.94 kB / 1.29 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3792, allocations: 8 kB / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.3793, allocations: 19.97 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.3794, allocations: 4 kB / 1.29 GB, free: 5.93 MB / 0.9825 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.0001208/0.3795, allocations: 129.8 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.3795, allocations: 15.91 kB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.3796, allocations: 20.33 kB / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3796, allocations: 0 / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3796, allocations: 4 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3796, allocations: 7.938 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.3799, allocations: 196.6 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3799, allocations: 3.938 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.3802, allocations: 35.95 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3802, allocations: 0 / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3802, allocations: 0 / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3802, allocations: 4 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3802, allocations: 0 / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006871/0.3809, allocations: 382.5 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.3809, allocations: 15.83 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.3809, allocations: 4 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3811, allocations: 23.97 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.3812, allocations: 11.98 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.3812, allocations: 0 / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001036/0.3813, allocations: 130.5 kB / 1.291 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3813, allocations: 0 / 1.291 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002718/0.3816, allocations: 19.94 kB / 1.291 GB, free: 4.875 MB / 0.9825 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.0009884/0.3825, allocations: 0.9107 MB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005742/0.3831, allocations: 167.8 kB / 1.292 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3831, allocations: 3.938 kB / 1.292 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.3834, allocations: 87.86 kB / 1.292 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3838, allocations: 22.17 kB / 1.292 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.387, allocations: 1.967 MB / 1.294 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.3874, allocations: 0.7158 MB / 1.294 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.605e-05/0.3875, allocations: 27.97 kB / 1.294 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.092e-05/0.3876, allocations: 31.42 kB / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of SimCode: time 1.253e-06/0.3876, allocations: 0 / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.4116, allocations: 2.856 MB / 1.297 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.8, allocations: 10.36 kB / 1.297 GB, free: 14.09 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.996017094003037]