Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001341/0.001341, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.633/1.633, allocations: 221.5 MB / 0.7824 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009245/0.0009244, allocations: 103.8 kB / 0.9219 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.623e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2568, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9436/1.2, allocations: 147.9 MB / 1.351 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/1.201, allocations: 65.62 kB / 1.351 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005959/1.207, allocations: 2.284 MB / 1.353 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.323e-06/1.207, allocations: 0 / 1.353 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.296e-05/1.207, allocations: 9.281 kB / 1.353 GB, free: 34.01 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.0005143/1.207, allocations: 452.5 kB / 1.353 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/1.207, allocations: 11.5 kB / 1.353 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/1.207, allocations: 23.19 kB / 1.353 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/1.208, allocations: 271.8 kB / 1.354 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.208, allocations: 7.719 kB / 1.354 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/1.208, allocations: 7.688 kB / 1.354 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003269/1.208, allocations: 227.9 kB / 1.354 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/1.209, allocations: 309 kB / 1.354 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.209, allocations: 3.938 kB / 1.354 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/1.209, allocations: 0 / 1.354 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/1.209, allocations: 3.844 kB / 1.354 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/1.21, allocations: 1.287 MB / 1.355 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.482e-05/1.21, allocations: 175.1 kB / 1.355 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/1.21, allocations: 80.14 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/1.21, allocations: 80.06 kB / 1.356 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/1.21, allocations: 105.8 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/1.21, allocations: 4 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.853e-05/1.21, allocations: 41.84 kB / 1.356 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/1.21, allocations: 51.41 kB / 1.356 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/1.21, allocations: 230.9 kB / 1.356 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/1.21, allocations: 29.64 kB / 1.356 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/1.211, allocations: 182.5 kB / 1.356 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/1.211, allocations: 3.125 kB / 1.356 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/1.211, allocations: 0 / 1.356 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.211, allocations: 326.6 kB / 1.357 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/1.211, allocations: 52.44 kB / 1.357 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/1.211, allocations: 89.59 kB / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.887e-05/1.211, allocations: 58.67 kB / 1.357 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.211, allocations: 3.875 kB / 1.357 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002576/1.211, allocations: 160.3 kB / 1.357 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.211, allocations: 4.641 kB / 1.357 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.211, allocations: 3.875 kB / 1.357 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.211, allocations: 0 / 1.357 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/1.211, allocations: 23.08 kB / 1.357 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.211, allocations: 8.719 kB / 1.357 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/1.212, allocations: 17.34 kB / 1.357 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/1.212, allocations: 9.156 kB / 1.357 GB, free: 31.08 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.0001033/1.212, allocations: 184 kB / 1.357 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.689e-05/1.212, allocations: 139.8 kB / 1.357 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/1.212, allocations: 120.7 kB / 1.357 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/1.212, allocations: 120.5 kB / 1.358 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.787e-05/1.212, allocations: 188.4 kB / 1.358 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-05/1.212, allocations: 183.1 kB / 1.358 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.556e-05/1.212, allocations: 184.1 kB / 1.358 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/1.212, allocations: 462.8 kB / 1.358 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/1.212, allocations: 101.8 kB / 1.359 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/1.212, allocations: 105.5 kB / 1.359 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.857e-05/1.213, allocations: 188.1 kB / 1.359 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/1.213, allocations: 181 kB / 1.359 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.068e-05/1.213, allocations: 177.1 kB / 1.359 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.962e-05/1.213, allocations: 180.9 kB / 1.359 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/1.213, allocations: 320.7 kB / 1.36 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/1.213, allocations: 200 kB / 1.36 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/1.213, allocations: 177.5 kB / 1.36 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.672e-05/1.213, allocations: 110.4 kB / 1.36 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/1.213, allocations: 185.3 kB / 1.36 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/1.213, allocations: 105.5 kB / 1.36 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001544/1.213, allocations: 184.5 kB / 1.361 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.213, allocations: 0 / 1.361 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002968/1.214, allocations: 34.66 kB / 1.361 GB, free: 27.41 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.0004433/1.214, allocations: 0.8267 MB / 1.361 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001248/1.214, allocations: 62.66 kB / 1.362 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.214, allocations: 0 / 1.362 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-06/1.214, allocations: 0.7031 kB / 1.362 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/1.215, allocations: 0.538 MB / 1.362 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000662/1.216, allocations: 407.6 kB / 1.362 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/1.216, allocations: 0.786 MB / 1.363 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.193e-05/1.216, allocations: 25.62 kB / 1.363 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/1.216, allocations: 54.98 kB / 1.363 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of SimCode: time 1.143e-06/1.216, allocations: 0 / 1.363 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/1.237, allocations: 2.278 MB / 1.365 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/1.237, allocations: 149.6 kB / 1.366 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.822, allocations: 0 / 1.366 GB, free: 24.78 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat does not exist to compare? outputFormat=mat