Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_latest_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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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: 194.1 kB / 16.13 MB, free: 6.656 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.001191, allocations: 68.23 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2541, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002516/0.2567, allocations: 0.8132 MB / 1.053 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002749/0.257, allocations: 55.83 kB / 1.053 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.257, allocations: 4 kB / 1.053 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.2572, allocations: 19.86 kB / 1.053 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.2573, allocations: 15.91 kB / 1.053 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.2574, allocations: 23.97 kB / 1.053 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.2576, allocations: 115.7 kB / 1.053 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.2578, allocations: 149.4 kB / 1.053 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.733e-05/0.2579, allocations: 59.78 kB / 1.053 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.258, allocations: 79.56 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.258, allocations: 12 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.503e-05/0.2581, allocations: 8 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.2581, allocations: 39.86 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/0.2582, allocations: 83.42 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.2584, allocations: 215.3 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2584, allocations: 0 / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2584, allocations: 0 / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.2584, allocations: 4 kB / 1.054 GB, free: 6.508 MB / 0.8106 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.0004928/0.2589, allocations: 495.4 kB / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.259, allocations: 16.03 kB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.2591, allocations: 58.72 kB / 1.054 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.2591, allocations: 28.56 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.2593, allocations: 251.9 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2594, allocations: 20.69 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.2594, allocations: 16.38 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.2598, allocations: 352.8 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2599, allocations: 0 / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.2599, allocations: 12 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.2599, allocations: 16 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.2602, allocations: 267.8 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.2613, allocations: 1.08 MB / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.627e-05/0.2614, allocations: 173.1 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.2614, allocations: 80.14 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2614, allocations: 75.28 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.2615, allocations: 117.9 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2615, allocations: 0 / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.859e-05/0.2616, allocations: 53.33 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.2616, allocations: 126.7 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.2621, allocations: 0.4965 MB / 1.057 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.2621, allocations: 25.7 kB / 1.057 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2622, allocations: 167.8 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/0.2622, allocations: 4 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.2623, allocations: 37.61 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2624, allocations: 334.8 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.2625, allocations: 55.95 kB / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.2626, allocations: 110.7 kB / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.2627, allocations: 114.7 kB / 1.058 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2627, allocations: 0 / 1.058 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002767/0.263, allocations: 201.2 kB / 1.058 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.263, allocations: 7.938 kB / 1.058 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.263, allocations: 4 kB / 1.058 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.263, allocations: 0 / 1.058 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.2632, allocations: 23.92 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2632, allocations: 4 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.2633, allocations: 31.69 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2633, allocations: 7.984 kB / 1.059 GB, free: 1.402 MB / 0.8106 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.0001421/0.2634, allocations: 253.3 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.2635, allocations: 132.6 kB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.2636, allocations: 134.8 kB / 1.059 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.491e-05/0.2636, allocations: 176.3 kB / 1.059 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.346e-05/0.2637, allocations: 188.2 kB / 1.059 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.724e-05/0.2637, allocations: 176.3 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.264, allocations: 0.4893 MB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-05/0.2641, allocations: 105 kB / 1.06 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.2641, allocations: 109 kB / 1.06 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.012e-05/0.2642, allocations: 184.1 kB / 1.06 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/0.2642, allocations: 176.3 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-05/0.2643, allocations: 188.1 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.62e-05/0.2643, allocations: 180.5 kB / 1.061 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2644, allocations: 335.4 kB / 1.061 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2646, allocations: 221.7 kB / 1.061 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/0.2646, allocations: 180.2 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2647, allocations: 109 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.2648, allocations: 176.3 kB / 1.062 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.2648, allocations: 108.9 kB / 1.062 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000323/0.2652, allocations: 367 kB / 1.062 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2652, allocations: 0 / 1.062 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000259/0.2654, allocations: 24 kB / 1.062 GB, free: 13.25 MB / 0.8262 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.0003866/0.2658, allocations: 0.8358 MB / 1.063 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.266, allocations: 67.83 kB / 1.063 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.266, allocations: 0.5 kB / 1.063 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/0.266, allocations: 0 / 1.063 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.2665, allocations: 0.5511 MB / 1.064 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.2695, allocations: 3.33 MB / 1.067 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.2698, allocations: 0.7791 MB / 1.068 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.439e-05/0.2699, allocations: 49.52 kB / 1.068 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.27, allocations: 59.42 kB / 1.068 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.27, allocations: 0 / 1.068 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.586/1.856, allocations: 4.372 MB / 1.072 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/1.856, allocations: 205.8 kB / 1.072 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.976/4.832, allocations: 1.969 kB / 1.072 GB, free: 2.879 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches