Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.59/2.59, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 179.2 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009696/0.0009695, allocations: 94.27 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.35e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.319, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.439, allocations: 148.7 MB / 1.358 GB, free: 17.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.44, allocations: 64.8 kB / 1.358 GB, free: 17.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006101/1.446, allocations: 2.292 MB / 1.36 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/1.446, allocations: 3.938 kB / 1.36 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.501e-05/1.446, allocations: 12.45 kB / 1.36 GB, free: 32.9 MB / 0.8386 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.0005298/1.446, allocations: 452 kB / 1.36 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.446, allocations: 7.688 kB / 1.36 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/1.446, allocations: 24.58 kB / 1.36 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/1.447, allocations: 267 kB / 1.361 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/1.447, allocations: 11.75 kB / 1.361 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/1.447, allocations: 11.53 kB / 1.361 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000329/1.447, allocations: 210.8 kB / 1.361 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/1.447, allocations: 311.2 kB / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.448, allocations: 0 / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/1.448, allocations: 0 / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.448, allocations: 11.69 kB / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/1.449, allocations: 1.286 MB / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.96e-05/1.449, allocations: 168.6 kB / 1.363 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/1.449, allocations: 86.52 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/1.449, allocations: 79.28 kB / 1.363 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/1.449, allocations: 109.8 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/1.449, allocations: 0 / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.802e-05/1.449, allocations: 33.45 kB / 1.363 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/1.449, allocations: 51.41 kB / 1.363 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/1.449, allocations: 234.2 kB / 1.363 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/1.449, allocations: 29.55 kB / 1.363 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/1.45, allocations: 183.7 kB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/1.45, allocations: 0 / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/1.45, allocations: 0 / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.45, allocations: 328.6 kB / 1.364 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.49e-05/1.45, allocations: 47.73 kB / 1.364 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.293e-05/1.45, allocations: 81.94 kB / 1.364 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.226e-05/1.45, allocations: 64.75 kB / 1.364 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/1.45, allocations: 0 / 1.364 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002326/1.45, allocations: 168.7 kB / 1.364 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.45, allocations: 7.969 kB / 1.364 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.45, allocations: 3.375 kB / 1.364 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/1.45, allocations: 0 / 1.364 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/1.45, allocations: 20.09 kB / 1.364 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.45, allocations: 7.281 kB / 1.364 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-05/1.45, allocations: 20.38 kB / 1.364 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/1.45, allocations: 8.891 kB / 1.364 GB, free: 29.98 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.451, allocations: 193.1 kB / 1.364 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.908e-05/1.451, allocations: 144.4 kB / 1.364 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/1.451, allocations: 115.5 kB / 1.365 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/1.451, allocations: 123.8 kB / 1.365 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.062e-05/1.451, allocations: 176.3 kB / 1.365 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.428e-05/1.451, allocations: 185.5 kB / 1.365 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-05/1.451, allocations: 188.2 kB / 1.365 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/1.451, allocations: 460.3 kB / 1.366 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-05/1.451, allocations: 106.5 kB / 1.366 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/1.451, allocations: 104.8 kB / 1.366 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.747e-05/1.451, allocations: 177.9 kB / 1.366 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/1.452, allocations: 180.2 kB / 1.366 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-05/1.452, allocations: 176.3 kB / 1.366 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.985e-05/1.452, allocations: 189.6 kB / 1.367 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/1.452, allocations: 316.7 kB / 1.367 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.03e-05/1.452, allocations: 196.7 kB / 1.367 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/1.452, allocations: 184.1 kB / 1.367 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-05/1.452, allocations: 110.5 kB / 1.367 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/1.452, allocations: 177.2 kB / 1.367 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/1.452, allocations: 106.5 kB / 1.368 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001471/1.452, allocations: 193.2 kB / 1.368 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.91e-07/1.452, allocations: 0 / 1.368 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002681/1.453, allocations: 41.88 kB / 1.368 GB, free: 26.3 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004207/1.453, allocations: 0.8218 MB / 1.369 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001232/1.453, allocations: 63.45 kB / 1.369 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.453, allocations: 0 / 1.369 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/1.453, allocations: 0 / 1.369 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/1.454, allocations: 0.544 MB / 1.369 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006844/1.454, allocations: 410.6 kB / 1.37 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/1.455, allocations: 0.7859 MB / 1.37 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.091e-05/1.455, allocations: 29.84 kB / 1.37 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/1.455, allocations: 61.25 kB / 1.37 GB, free: 24 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.455, allocations: 0 / 1.37 GB, free: 24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/1.479, allocations: 2.26 MB / 1.373 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/1.479, allocations: 170.5 kB / 1.373 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/3.087, allocations: 0 / 1.373 GB, free: 23.66 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat does not exist to compare? outputFormat=mat