Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_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.007696/0.007696, allocations: 103.2 kB / 15.74 MB, free: 6.059 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.001905/0.001905, allocations: 189.2 kB / 16.67 MB, free: 5.969 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.522/2.522, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 67.91 kB / 1.083 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6296/0.6315, allocations: 162.3 MB / 1.242 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001744/0.6332, allocations: 0.7779 MB / 1.243 GB, free: 404 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0008309/0.6341, allocations: 0.8352 MB / 1.243 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.6341, allocations: 0 / 1.243 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.6343, allocations: 51.81 kB / 1.244 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.6344, allocations: 39.81 kB / 1.244 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.3e-05/0.6344, allocations: 19.97 kB / 1.244 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.6346, allocations: 91.69 kB / 1.244 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.6347, allocations: 23.98 kB / 1.244 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.6348, allocations: 43.83 kB / 1.244 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.6349, allocations: 79.78 kB / 1.244 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.6349, allocations: 8 kB / 1.244 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.817e-05/0.6349, allocations: 8 kB / 1.244 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.635, allocations: 35.91 kB / 1.244 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.6351, allocations: 47.72 kB / 1.244 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.6352, allocations: 119.2 kB / 1.244 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.6352, allocations: 0 / 1.244 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6352, allocations: 0 / 1.244 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.6353, allocations: 0 / 1.244 GB, free: 14.99 MB / 0.9669 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.0007134/0.636, allocations: 470.8 kB / 1.244 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.636, allocations: 12.03 kB / 1.244 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.6361, allocations: 38.73 kB / 1.245 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.6361, allocations: 12.84 kB / 1.245 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.6363, allocations: 203.7 kB / 1.245 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.6363, allocations: 8.312 kB / 1.245 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.6363, allocations: 4.375 kB / 1.245 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.6367, allocations: 155.8 kB / 1.245 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.6367, allocations: 3.938 kB / 1.245 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.6367, allocations: 3.938 kB / 1.245 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.6367, allocations: 4 kB / 1.245 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.6373, allocations: 167.8 kB / 1.245 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007497/0.638, allocations: 0.5086 MB / 1.246 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.6384, allocations: 161.1 kB / 1.246 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.6387, allocations: 93.67 kB / 1.246 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.6387, allocations: 4 kB / 1.246 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.6387, allocations: 34.56 kB / 1.246 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.6387, allocations: 4 kB / 1.246 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0008603/0.6396, allocations: 285.3 kB / 1.246 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.6397, allocations: 85.11 kB / 1.246 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.6398, allocations: 162.2 kB / 1.246 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.6398, allocations: 25.7 kB / 1.246 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.6399, allocations: 104.1 kB / 1.246 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.6399, allocations: 31.73 kB / 1.247 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.64, allocations: 21.72 kB / 1.247 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6401, allocations: 322.8 kB / 1.247 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.6404, allocations: 79.92 kB / 1.247 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.6406, allocations: 93.64 kB / 1.247 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.6411, allocations: 177.5 kB / 1.247 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6412, allocations: 0 / 1.247 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005391/0.6417, allocations: 201.5 kB / 1.247 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6417, allocations: 4 kB / 1.247 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.6417, allocations: 11.94 kB / 1.247 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.6417, allocations: 3.938 kB / 1.247 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.6419, allocations: 31.95 kB / 1.247 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.642, allocations: 4 kB / 1.247 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.6421, allocations: 27.92 kB / 1.247 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.6421, allocations: 4 kB / 1.247 GB, free: 11.21 MB / 0.9669 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 9.881e-05/0.6422, allocations: 133.8 kB / 1.248 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.6423, allocations: 12.42 kB / 1.248 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.6423, allocations: 20.23 kB / 1.248 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6423, allocations: 0 / 1.248 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.6423, allocations: 0 / 1.248 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.6423, allocations: 7.984 kB / 1.248 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.6426, allocations: 229.5 kB / 1.248 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.6426, allocations: 0 / 1.248 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.6428, allocations: 43.89 kB / 1.248 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6428, allocations: 4 kB / 1.248 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.6428, allocations: 0 / 1.248 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6428, allocations: 0 / 1.248 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6428, allocations: 4 kB / 1.248 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.6435, allocations: 382.5 kB / 1.248 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.6435, allocations: 89.02 kB / 1.248 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.6435, allocations: 0 / 1.248 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.6437, allocations: 23.97 kB / 1.248 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.6438, allocations: 11.98 kB / 1.248 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.6438, allocations: 0 / 1.248 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.559e-05/0.6439, allocations: 130.5 kB / 1.248 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6439, allocations: 4 kB / 1.248 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000256/0.6442, allocations: 19.94 kB / 1.249 GB, free: 10.03 MB / 0.9669 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.0009084/0.6451, allocations: 0.9035 MB / 1.249 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005384/0.6456, allocations: 175.8 kB / 1.25 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6456, allocations: 4 kB / 1.25 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.6459, allocations: 91.86 kB / 1.25 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.6462, allocations: 13.72 kB / 1.25 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.6488, allocations: 1.978 MB / 1.252 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.6491, allocations: 0.708 MB / 1.252 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.832e-05/0.6492, allocations: 35.89 kB / 1.252 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.6493, allocations: 27.44 kB / 1.252 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.6493, allocations: 0 / 1.252 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.531/3.181, allocations: 2.692 MB / 1.255 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.36/20.54, allocations: 15.62 kB / 1.255 GB, free: 3.355 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches