Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",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.001016/0.001016, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.000986/0.000986, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.491/2.491, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 66.39 kB / 0.8985 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2449, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001841/0.2468, allocations: 0.8001 MB / 1.053 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002098/0.247, allocations: 55.83 kB / 1.053 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.2471, allocations: 3.938 kB / 1.053 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.2472, allocations: 11.92 kB / 1.053 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.2473, allocations: 19.84 kB / 1.053 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.2475, allocations: 34.36 kB / 1.053 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.2476, allocations: 111.8 kB / 1.053 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.2479, allocations: 160.5 kB / 1.053 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.2479, allocations: 51.8 kB / 1.053 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.099e-05/0.248, allocations: 71.58 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.248, allocations: 8 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.262e-05/0.2481, allocations: 8 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.2481, allocations: 47.84 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.885e-05/0.2482, allocations: 79.42 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.2484, allocations: 211.3 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2484, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2484, allocations: 4 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2485, allocations: 0 / 1.054 GB, free: 6.559 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004892/0.2489, allocations: 0.4955 MB / 1.054 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.249, allocations: 11.97 kB / 1.054 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.251e-05/0.249, allocations: 54.73 kB / 1.054 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.2491, allocations: 24.66 kB / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.2493, allocations: 259.8 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2494, allocations: 12.73 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.2494, allocations: 16.38 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.2498, allocations: 352.8 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2498, allocations: 3.984 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.2499, allocations: 4 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.2499, allocations: 16 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.2502, allocations: 263.8 kB / 1.055 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009785/0.2512, allocations: 1.076 MB / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.2512, allocations: 169.1 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.2513, allocations: 80.14 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.2513, allocations: 75.28 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.2513, allocations: 110 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.2513, allocations: 0 / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.161e-05/0.2514, allocations: 65.28 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.2515, allocations: 126.7 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004551/0.2519, allocations: 0.4925 MB / 1.057 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.252, allocations: 25.7 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.2521, allocations: 171.8 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.2521, allocations: 4 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.2521, allocations: 33.64 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.2522, allocations: 338.8 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.2523, allocations: 47.95 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-05/0.2524, allocations: 93.97 kB / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.2525, allocations: 109.8 kB / 1.058 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2525, allocations: 0 / 1.058 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002542/0.2528, allocations: 181.2 kB / 1.058 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2528, allocations: 13.5 kB / 1.058 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.2528, allocations: 0 / 1.058 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2528, allocations: 4 kB / 1.058 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.2529, allocations: 23.92 kB / 1.058 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.253, allocations: 0 / 1.058 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.312e-05/0.2531, allocations: 39.67 kB / 1.058 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.2531, allocations: 8.219 kB / 1.058 GB, free: 1.512 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001408/0.2532, allocations: 245.1 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/0.2533, allocations: 136.5 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.2534, allocations: 138.8 kB / 1.059 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.49e-05/0.2534, allocations: 176.3 kB / 1.059 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.957e-05/0.2535, allocations: 184.2 kB / 1.059 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.116e-05/0.2535, allocations: 180.3 kB / 1.059 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.2538, allocations: 497 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/0.2538, allocations: 101 kB / 1.06 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.2538, allocations: 101 kB / 1.06 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.014e-05/0.2539, allocations: 200.2 kB / 1.06 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.254, allocations: 180.3 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.396e-05/0.254, allocations: 184.1 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-05/0.2541, allocations: 180.5 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.2542, allocations: 331.5 kB / 1.061 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.2543, allocations: 209.8 kB / 1.061 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/0.2544, allocations: 196.1 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.2545, allocations: 105 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.2545, allocations: 180.2 kB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.2546, allocations: 104.9 kB / 1.062 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003246/0.2549, allocations: 367 kB / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2549, allocations: 0 / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000252/0.2552, allocations: 32 kB / 1.062 GB, free: 13.35 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.0003787/0.2556, allocations: 0.8357 MB / 1.063 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.2557, allocations: 64.14 kB / 1.063 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2557, allocations: 4.125 kB / 1.063 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.2557, allocations: 4 kB / 1.063 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.2562, allocations: 0.5445 MB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.259, allocations: 3.296 MB / 1.067 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.2593, allocations: 0.783 MB / 1.068 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.449e-05/0.2594, allocations: 49.52 kB / 1.068 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.2595, allocations: 55.42 kB / 1.068 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.2595, allocations: 3.938 kB / 1.068 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.345/1.605, allocations: 4.34 MB / 1.072 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/1.605, allocations: 211.7 kB / 1.072 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.017/4.622, allocations: 4 kB / 1.072 GB, free: 3.047 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches