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.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.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.00113/0.00113, 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.001109/0.001109, allocations: 191 kB / 16.25 MB, free: 6.633 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.252/1.252, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.364/2.364, allocations: 437 MB / 0.7101 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.89 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5365/0.5377, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001685/0.5395, allocations: 0.8135 MB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001879/0.5397, allocations: 51.83 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.5397, allocations: 11.94 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.5399, allocations: 11.92 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.5399, allocations: 11.92 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.54, allocations: 19.98 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.5402, allocations: 119.7 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.5404, allocations: 161.2 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.5405, allocations: 63.8 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.5406, allocations: 75.64 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.5406, allocations: 11.94 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.308e-05/0.5406, allocations: 16 kB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.5407, allocations: 59.83 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.813e-05/0.5408, allocations: 83.42 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.541, allocations: 223.3 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.541, allocations: 0 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.162e-06/0.541, allocations: 0 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.541, allocations: 4 kB / 1.019 GB, free: 0.9961 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.0004432/0.5414, allocations: 0.4895 MB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.5415, allocations: 12.03 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.5415, allocations: 58.72 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.5416, allocations: 32.59 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.5418, allocations: 255.8 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.5418, allocations: 16.75 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.5419, allocations: 16.38 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.5423, allocations: 344.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5423, allocations: 3.984 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.5423, allocations: 12 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.5424, allocations: 19.98 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.5427, allocations: 263.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.5437, allocations: 1.076 MB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.189e-05/0.5437, allocations: 173.1 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.5438, allocations: 84.12 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.5438, allocations: 75.28 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.5438, allocations: 114 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.5438, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.433e-05/0.5439, allocations: 49.36 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.544, allocations: 130.7 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004562/0.5444, allocations: 0.5042 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.5445, allocations: 29.64 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.5446, allocations: 163.8 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/0.5446, allocations: 8 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.5446, allocations: 33.61 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.5447, allocations: 334.8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.5448, allocations: 51.95 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.5449, allocations: 102.8 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.545, allocations: 122.7 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.545, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002588/0.5453, allocations: 197.3 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.5453, allocations: 11.88 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5453, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.5453, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.5454, allocations: 19.98 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.5454, allocations: 4 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.344e-05/0.5455, allocations: 35.67 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.5456, allocations: 4 kB / 1.023 GB, free: 11.9 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.000134/0.5457, allocations: 253.5 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.5458, allocations: 132.7 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.5458, allocations: 138.8 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.836e-05/0.5459, allocations: 180.2 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-05/0.5459, allocations: 180.3 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.694e-05/0.546, allocations: 180.2 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.5462, allocations: 497.1 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/0.5463, allocations: 104.9 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.5463, allocations: 105 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-05/0.5464, allocations: 180.2 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.5464, allocations: 184.2 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.65e-05/0.5465, allocations: 176.3 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.697e-05/0.5465, allocations: 192.2 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.5467, allocations: 323.5 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5468, allocations: 221.8 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.5468, allocations: 180.2 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.653e-05/0.5469, allocations: 113.2 kB / 1.026 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.547, allocations: 180.3 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.547, allocations: 104.9 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003106/0.5473, allocations: 367 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5474, allocations: 0 / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002464/0.5476, allocations: 24 kB / 1.027 GB, free: 7.746 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.0003562/0.548, allocations: 0.8436 MB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.5481, allocations: 67.83 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5481, allocations: 0 / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.5481, allocations: 3.938 kB / 1.028 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.5486, allocations: 491.2 kB / 1.028 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.5513, allocations: 3.347 MB / 1.032 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.5516, allocations: 0.7749 MB / 1.033 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.643e-05/0.5517, allocations: 49.52 kB / 1.033 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.5518, allocations: 63.42 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5518, allocations: 0 / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6819/1.234, allocations: 4.451 MB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/1.234, allocations: 200.4 kB / 1.037 GB, free: 13.36 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.966, allocations: 0 / 1.037 GB, free: 13.36 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