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.00108/0.00108, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.344/2.344, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 71.89 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.5632, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001848/0.5651, allocations: 0.7332 MB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002114/0.5653, allocations: 55.83 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.5653, allocations: 3.938 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.5655, allocations: 23.86 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.5655, allocations: 11.92 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.5657, allocations: 23.97 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.5658, allocations: 115.7 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.5661, allocations: 164.4 kB / 1.019 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.5661, allocations: 67.8 kB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.5662, allocations: 71.64 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.5663, allocations: 15.94 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.857e-05/0.5663, allocations: 16 kB / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.5664, allocations: 55.83 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.464e-05/0.5665, allocations: 91.42 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.5667, allocations: 219.3 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5667, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.657e-06/0.5667, allocations: 3.984 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5667, allocations: 0 / 1.019 GB, free: 0.8047 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.000466/0.5672, allocations: 0.4895 MB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.5672, allocations: 12.02 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.5672, allocations: 58.73 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.5673, allocations: 20.66 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.5675, allocations: 271.7 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5676, allocations: 12.75 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.5676, allocations: 16.38 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.568, allocations: 340.9 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.568, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.5681, allocations: 11.98 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/0.5681, allocations: 15.98 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.5684, allocations: 274.2 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.5694, allocations: 1.08 MB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.934e-05/0.5695, allocations: 169.1 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.5695, allocations: 84.14 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.5696, allocations: 75.28 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.5696, allocations: 110 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5696, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.243e-05/0.5697, allocations: 53.36 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.5698, allocations: 130.7 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.5702, allocations: 0.5042 MB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.5702, allocations: 29.7 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.5703, allocations: 167.8 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.5704, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.5704, allocations: 33.61 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5705, allocations: 342.8 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.5706, allocations: 47.95 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.5707, allocations: 98.83 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.5708, allocations: 118.7 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5708, allocations: 8 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002718/0.5711, allocations: 185.1 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5711, allocations: 13.5 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5711, allocations: 8.188 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5711, allocations: 4 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.5712, allocations: 23.92 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5713, allocations: 0 / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.406e-05/0.5714, allocations: 39.61 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5714, allocations: 8 kB / 1.024 GB, free: 11.71 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.0001349/0.5715, allocations: 250.5 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.5716, allocations: 128.6 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.493e-05/0.5717, allocations: 146.8 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/0.5717, allocations: 176.3 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.715e-05/0.5718, allocations: 180.2 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.61e-05/0.5718, allocations: 176.3 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.5721, allocations: 497.1 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/0.5721, allocations: 108.9 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.5721, allocations: 101 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.074e-05/0.5722, allocations: 192.1 kB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.5723, allocations: 180.3 kB / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.59e-05/0.5723, allocations: 180.3 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.584e-05/0.5724, allocations: 180.2 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.5725, allocations: 331.5 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5726, allocations: 217.8 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.382e-05/0.5727, allocations: 180.2 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.5728, allocations: 108.9 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.5728, allocations: 184.3 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.5729, allocations: 108.9 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003244/0.5732, allocations: 367 kB / 1.028 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5732, allocations: 0 / 1.028 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002543/0.5735, allocations: 24 kB / 1.028 GB, free: 7.555 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.0003576/0.5738, allocations: 0.836 MB / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.574, allocations: 71.83 kB / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.574, allocations: 0 / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.574, allocations: 16 / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.5744, allocations: 495.5 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.5773, allocations: 3.32 MB / 1.032 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.5776, allocations: 0.771 MB / 1.033 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.914e-05/0.5777, allocations: 53.52 kB / 1.033 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.5777, allocations: 63.42 kB / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of SimCode: time 1.523e-06/0.5778, allocations: 0 / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.371/1.949, allocations: 4.536 MB / 1.037 GB, free: 13.32 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.107/11.06, allocations: 6.016 kB / 1.037 GB, free: 13.32 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