Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 189.5 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.221/2.221, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 0.8689 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5186, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00158/0.5202, allocations: 0.8351 MB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006942/0.5209, allocations: 0.8235 MB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.521, allocations: 4 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.5211, allocations: 47.88 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.5212, allocations: 43.81 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.925e-05/0.5212, allocations: 15.98 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.5213, allocations: 83.77 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.87e-05/0.5214, allocations: 27.97 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.5215, allocations: 47.77 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.5216, allocations: 87.78 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.5216, allocations: 8 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.5216, allocations: 8 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.5217, allocations: 35.91 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.5217, allocations: 39.73 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.5218, allocations: 115.6 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.5219, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5219, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.5219, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 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.0005959/0.5225, allocations: 470.8 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.5225, allocations: 12.03 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.5225, allocations: 34.75 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.5226, allocations: 12.75 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.5227, allocations: 205.6 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.5227, allocations: 12.38 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.5228, allocations: 8.375 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.5231, allocations: 155.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.5231, allocations: 3.938 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.5231, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5231, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00047/0.5236, allocations: 167.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006601/0.5243, allocations: 0.5047 MB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.5246, allocations: 169.1 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.5249, allocations: 93.73 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.5249, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.5249, allocations: 38.56 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 8.41e-07/0.5249, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0007591/0.5257, allocations: 293.2 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.5257, allocations: 77.11 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.5259, allocations: 166.1 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.5259, allocations: 25.7 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.5259, allocations: 104.1 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.526, allocations: 31.55 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.526, allocations: 29.64 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.5261, allocations: 326.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.5263, allocations: 75.92 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.5266, allocations: 97.62 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.527, allocations: 173.5 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.527, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004798/0.5275, allocations: 201.4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.5275, allocations: 8 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.5275, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.5275, allocations: 3.984 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.5277, allocations: 39.97 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.5277, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.5278, allocations: 23.95 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.5279, allocations: 4 kB / 1.023 GB, free: 12.77 MB / 0.7794 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 8.665e-05/0.528, allocations: 134.3 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.528, allocations: 11.81 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.528, allocations: 20.66 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.528, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5281, allocations: 8 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5281, allocations: 3.984 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.5283, allocations: 225.5 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5283, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.5285, allocations: 39.91 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5285, allocations: 3.984 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.5285, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5285, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5285, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.529, allocations: 378.5 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.5291, allocations: 92.86 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.5291, allocations: 8 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.5293, allocations: 27.95 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.5293, allocations: 15.92 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.5294, allocations: 0 / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.084e-05/0.5294, allocations: 123.2 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5294, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002473/0.5297, allocations: 16 kB / 1.024 GB, free: 11.58 MB / 0.7794 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.0007617/0.5305, allocations: 0.9068 MB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.5309, allocations: 175.8 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5309, allocations: 0 / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.5312, allocations: 95.84 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.5315, allocations: 21.5 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.5338, allocations: 1.981 MB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.534, allocations: 0.7118 MB / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.303e-05/0.5341, allocations: 27.97 kB / 1.027 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.5341, allocations: 39.42 kB / 1.027 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.5342, allocations: 0 / 1.027 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7898/1.324, allocations: 2.407 MB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003119/1.324, allocations: 213.2 kB / 1.03 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/3.054, allocations: 3.938 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches