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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009928/0.0009929, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007298/0.007298, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.301/2.301, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002837, allocations: 12 kB / 0.873 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5196, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.0007744/0.5204, allocations: 0.4902 MB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.5213, allocations: 0.8157 MB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.5213, allocations: 7.938 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.5215, allocations: 63.84 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.5215, allocations: 31.89 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.731e-05/0.5216, allocations: 11.98 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.5217, allocations: 91.69 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.5218, allocations: 23.97 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.184e-05/0.5219, allocations: 35.84 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.522, allocations: 75.78 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.5221, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.5221, allocations: 4 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.5221, allocations: 31.91 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.5222, allocations: 61.44 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.5223, allocations: 111.5 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.5223, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5223, allocations: 4 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.5223, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.7794 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.0006534/0.523, allocations: 469.2 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.523, allocations: 8.031 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.5231, allocations: 34.75 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.5231, allocations: 8.844 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.5233, allocations: 213.3 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.5233, allocations: 8.312 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.5233, allocations: 4.375 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.5237, allocations: 167.8 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5237, allocations: 7.922 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.5238, allocations: 4 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.5238, allocations: 4 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.5243, allocations: 203.8 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007333/0.525, allocations: 0.5165 MB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.5254, allocations: 185.1 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.5257, allocations: 109.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.5257, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.5258, allocations: 38.56 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.5258, allocations: 3.938 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0008672/0.5266, allocations: 333.3 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.5267, allocations: 85.05 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.5268, allocations: 166.1 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.5268, allocations: 25.7 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.5269, allocations: 104.1 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.5269, allocations: 27.56 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.527, allocations: 21.7 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5271, allocations: 322.8 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.5274, allocations: 95.92 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.5276, allocations: 109.6 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.5281, allocations: 201.6 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5281, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005433/0.5287, allocations: 241.4 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.5287, allocations: 7.984 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5287, allocations: 480 / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5287, allocations: 4 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.5289, allocations: 39.97 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.5289, allocations: 7.922 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.5291, allocations: 35.97 kB / 1.029 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.5291, allocations: 0 / 1.029 GB, free: 9.91 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.436e-05/0.5292, allocations: 130.3 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.5292, allocations: 11.81 kB / 1.029 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.5293, allocations: 28.23 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5293, allocations: 4 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5293, allocations: 11.92 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5293, allocations: 0 / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.5296, allocations: 225.5 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5296, allocations: 4 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.5298, allocations: 43.95 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5298, allocations: 3.938 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.5298, allocations: 4 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5298, allocations: 0 / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5298, allocations: 0 / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.5304, allocations: 418.6 kB / 1.029 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.5305, allocations: 92.86 kB / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.5305, allocations: 3.984 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.5307, allocations: 31.97 kB / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.5307, allocations: 11.98 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.5307, allocations: 4 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.82e-05/0.5308, allocations: 119.2 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5308, allocations: 0 / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002547/0.5311, allocations: 16 kB / 1.03 GB, free: 8.672 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.0008576/0.5319, allocations: 0.9497 MB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005528/0.5325, allocations: 207.8 kB / 1.031 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5325, allocations: 0 / 1.031 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.5328, allocations: 103.9 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.5331, allocations: 16 kB / 1.031 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.5356, allocations: 2.061 MB / 1.033 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.5359, allocations: 0.7196 MB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.313e-05/0.5359, allocations: 23.97 kB / 1.034 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.536, allocations: 31.42 kB / 1.034 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.536, allocations: 0 / 1.034 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.069/1.605, allocations: 2.272 MB / 1.036 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.605, allocations: 207.9 kB / 1.036 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/3.264, allocations: 4.062 kB / 1.036 GB, free: 2.023 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