Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.MatrixMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",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.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001258/0.001258, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.365/2.365, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 63.91 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.55, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001997/0.552, allocations: 0.8058 MB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002862/0.5523, allocations: 51.83 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.519e-05/0.5524, allocations: 7.938 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.5526, allocations: 11.92 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.823e-05/0.5527, allocations: 23.89 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.5528, allocations: 19.98 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.553, allocations: 123.6 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.5532, allocations: 152.5 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.649e-05/0.5533, allocations: 59.78 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.5533, allocations: 67.64 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.5534, allocations: 8 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.308e-05/0.5534, allocations: 8 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.5535, allocations: 47.86 kB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.5536, allocations: 83.42 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.5538, allocations: 223.2 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5538, allocations: 0 / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.31e-07/0.5538, allocations: 0 / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.5538, allocations: 0 / 1.018 GB, free: 1.066 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005002/0.5543, allocations: 0.4973 MB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.5543, allocations: 8.031 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.22e-05/0.5544, allocations: 58.67 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.5544, allocations: 32.59 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.5547, allocations: 255.8 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.5547, allocations: 20.73 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.5547, allocations: 16.38 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.5552, allocations: 341 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5552, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.5552, allocations: 4 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.5553, allocations: 19.94 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.5556, allocations: 268.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.5568, allocations: 1.084 MB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.376e-05/0.5569, allocations: 173.1 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.5569, allocations: 84.14 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.5569, allocations: 75.28 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.557, allocations: 110 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.557, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.278e-05/0.5571, allocations: 49.42 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.5572, allocations: 126.7 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/0.5577, allocations: 0.5081 MB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.5577, allocations: 25.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.5578, allocations: 171.7 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-06/0.5578, allocations: 4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.5579, allocations: 33.61 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.558, allocations: 338.8 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.505e-05/0.5581, allocations: 51.95 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.909e-05/0.5582, allocations: 98.83 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.5583, allocations: 122.7 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5583, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003116/0.5587, allocations: 189.2 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5587, allocations: 15.88 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5587, allocations: 4.25 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5587, allocations: 4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.5588, allocations: 27.92 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5588, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-05/0.5589, allocations: 31.69 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.559, allocations: 8 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0001733/0.5591, allocations: 261.4 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-05/0.5592, allocations: 128.6 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.643e-05/0.5593, allocations: 138.8 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.487e-05/0.5594, allocations: 180.2 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.53e-05/0.5595, allocations: 176.3 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7e-05/0.5595, allocations: 184.2 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.5599, allocations: 493.1 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.919e-05/0.5599, allocations: 109 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.5599, allocations: 104.9 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.365e-05/0.56, allocations: 184.2 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.5601, allocations: 180.2 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-05/0.5602, allocations: 176.4 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.958e-05/0.5602, allocations: 176.3 kB / 1.025 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.5604, allocations: 339.4 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.5606, allocations: 221.8 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-05/0.5607, allocations: 180.3 kB / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.5608, allocations: 101.3 kB / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.5609, allocations: 188.2 kB / 1.026 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.561, allocations: 109 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003664/0.5613, allocations: 363 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5613, allocations: 0 / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002768/0.5616, allocations: 24 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0005022/0.5621, allocations: 0.8474 MB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.5623, allocations: 63.89 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5623, allocations: 0 / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.5623, allocations: 0 / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.5629, allocations: 0.5516 MB / 1.028 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.5661, allocations: 3.339 MB / 1.032 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.5664, allocations: 0.7752 MB / 1.032 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.472e-05/0.5665, allocations: 49.52 kB / 1.032 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.5666, allocations: 67.36 kB / 1.032 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of SimCode: time 1.81e-07/0.5666, allocations: 0 / 1.032 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.5819, allocations: 4.367 MB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/0.5821, allocations: 208.5 kB / 1.037 GB, free: 13.42 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.15, allocations: 0 / 1.037 GB, free: 13.42 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches