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.001635/0.001635, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001983/0.001983, allocations: 212 kB / 22.24 MB, free: 4.855 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.809 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.957/2.957, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_11_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.002141/0.002141, allocations: 68.86 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.311, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002148/0.3131, allocations: 0.7491 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.3144, allocations: 0.8511 MB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.3145, allocations: 4 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.3147, allocations: 55.78 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.3148, allocations: 35.84 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.757e-05/0.3149, allocations: 23.97 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.315, allocations: 95.67 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.3152, allocations: 19.45 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.855e-05/0.3153, allocations: 47.83 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.3154, allocations: 83.77 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.3155, allocations: 8 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.3155, allocations: 8 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.3156, allocations: 35.91 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.3156, allocations: 31.8 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.3158, allocations: 121.2 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3158, allocations: 0 / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3158, allocations: 4 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3158, allocations: 0 / 1.285 GB, free: 10.29 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.0008643/0.3167, allocations: 393.7 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3167, allocations: 12.03 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.3168, allocations: 34.69 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.3168, allocations: 20.84 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.317, allocations: 152.5 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.317, allocations: 4.375 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.317, allocations: 4.375 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.3175, allocations: 147.9 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3175, allocations: 7.875 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3175, allocations: 4 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3175, allocations: 0 / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.3181, allocations: 171.8 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009024/0.319, allocations: 471.9 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.3194, allocations: 161.1 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.3197, allocations: 85.73 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3197, allocations: 4 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3197, allocations: 34.5 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.3197, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0009258/0.3207, allocations: 289.6 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.3207, allocations: 81.11 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3209, allocations: 160 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.3209, allocations: 29.7 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.321, allocations: 104.1 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.321, allocations: 35.73 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.3211, allocations: 21.72 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3212, allocations: 326.8 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.3215, allocations: 79.86 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.3217, allocations: 85.64 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.3222, allocations: 177.5 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3222, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005622/0.3228, allocations: 205.5 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3228, allocations: 11.94 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3228, allocations: 0 / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3228, allocations: 0 / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.3231, allocations: 39.89 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3231, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3232, allocations: 27.97 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3232, allocations: 0 / 1.288 GB, free: 6.75 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.0001262/0.3234, allocations: 137.8 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.3234, allocations: 11.91 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.315e-05/0.3235, allocations: 20.33 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3235, allocations: 4 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3235, allocations: 0 / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3235, allocations: 0 / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.3239, allocations: 188.6 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3239, allocations: 0 / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.324, allocations: 35.95 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.324, allocations: 8 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3241, allocations: 0 / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3241, allocations: 3.938 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3241, allocations: 4 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.3248, allocations: 378.5 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.3248, allocations: 15.95 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.3248, allocations: 4 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.325, allocations: 23.95 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.3251, allocations: 11.98 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3251, allocations: 0 / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001096/0.3252, allocations: 126.5 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3252, allocations: 0 / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002741/0.3255, allocations: 16 kB / 1.289 GB, free: 5.711 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.001134/0.3266, allocations: 0.9109 MB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005907/0.3272, allocations: 179.8 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3272, allocations: 3.938 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.3275, allocations: 91.84 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.3279, allocations: 12 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.3309, allocations: 1.97 MB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.331, allocations: 96.17 kB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.887e-05/0.3311, allocations: 23.97 kB / 1.292 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.914e-05/0.3312, allocations: 35.42 kB / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of SimCode: time 1.222e-06/0.3312, allocations: 7.938 kB / 1.292 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03813/0.3693, allocations: 3.275 MB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.91, allocations: 2.859 kB / 1.295 GB, free: 15.11 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.870241342112422]