Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",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.232/2.232, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001228/0.001228, allocations: 171.4 kB / 498.1 MB, free: 5.754 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.426/1.426, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0009158/0.0009159, allocations: 91.09 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003674, allocations: 11.06 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2694, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.439, allocations: 148.6 MB / 1.368 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4392, allocations: 71.95 kB / 1.368 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00564/0.4449, allocations: 2.364 MB / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4449, allocations: 0 / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.771e-05/0.4449, allocations: 8 kB / 1.37 GB, free: 10.9 MB / 0.8698 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.0004867/0.4454, allocations: 474.8 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4455, allocations: 8.031 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.934e-05/0.4456, allocations: 58.55 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.4456, allocations: 27.72 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.446, allocations: 263.6 kB / 1.371 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.446, allocations: 16.44 kB / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.4461, allocations: 20 kB / 1.371 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.4466, allocations: 350 kB / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4466, allocations: 0 / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.4466, allocations: 19.94 kB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4466, allocations: 4 kB / 1.372 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.447, allocations: 235.7 kB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.4485, allocations: 1.491 MB / 1.373 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.4486, allocations: 177.1 kB / 1.374 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.4487, allocations: 83.22 kB / 1.374 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.4487, allocations: 105.8 kB / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 2.344e-06/0.4487, allocations: 3.984 kB / 1.374 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 0.0001199/0.4489, allocations: 53.38 kB / 1.374 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.4489, allocations: 134.6 kB / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.4495, allocations: 467.5 kB / 1.374 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4495, allocations: 25.7 kB / 1.374 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.4497, allocations: 179.7 kB / 1.375 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-06/0.4497, allocations: 0 / 1.375 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.4497, allocations: 0 / 1.375 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4499, allocations: 342.8 kB / 1.375 GB, free: 6.16 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.255e-05/0.45, allocations: 43.97 kB / 1.375 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4501, allocations: 103 kB / 1.375 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.4502, allocations: 59.95 kB / 1.375 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4502, allocations: 7.938 kB / 1.375 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000332/0.4505, allocations: 189.2 kB / 1.375 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4506, allocations: 4 kB / 1.375 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4506, allocations: 4 kB / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4506, allocations: 0 / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.4507, allocations: 23.92 kB / 1.375 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4507, allocations: 8.203 kB / 1.375 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.4508, allocations: 39.69 kB / 1.375 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.4509, allocations: 7.984 kB / 1.375 GB, free: 5.648 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.451, allocations: 246.8 kB / 1.376 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.4511, allocations: 132.5 kB / 1.376 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.092e-05/0.4512, allocations: 135.3 kB / 1.376 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.019e-05/0.4513, allocations: 180.2 kB / 1.376 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.388e-05/0.4514, allocations: 192.2 kB / 1.376 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-05/0.4515, allocations: 184.2 kB / 1.376 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.4518, allocations: 493 kB / 1.377 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/0.4518, allocations: 101 kB / 1.377 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.4519, allocations: 108.9 kB / 1.377 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.583e-05/0.452, allocations: 184.3 kB / 1.377 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/0.452, allocations: 176.3 kB / 1.377 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-05/0.4521, allocations: 184.2 kB / 1.378 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-05/0.4522, allocations: 180.3 kB / 1.378 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.4524, allocations: 331.4 kB / 1.378 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.4526, allocations: 233.7 kB / 1.378 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.4527, allocations: 184.2 kB / 1.378 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.4528, allocations: 105 kB / 1.379 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.4529, allocations: 180.2 kB / 1.379 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.485e-05/0.453, allocations: 101 kB / 1.379 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003848/0.4534, allocations: 367 kB / 1.379 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4534, allocations: 8 kB / 1.379 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002942/0.4537, allocations: 24 kB / 1.379 GB, free: 1.477 MB / 0.8698 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 (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.0005023/0.4542, allocations: 0.8402 MB / 1.38 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.4543, allocations: 67.89 kB / 1.38 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4543, allocations: 4 kB / 1.38 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.4543, allocations: 0 / 1.38 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.4548, allocations: 0.5434 MB / 1.381 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.4575, allocations: 2.73 MB / 1.383 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.458, allocations: 0.7791 MB / 1.384 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.4581, allocations: 45.53 kB / 1.384 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.4582, allocations: 63.41 kB / 1.384 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/0.4582, allocations: 4 kB / 1.384 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.474, allocations: 4.16 MB / 1.388 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/0.4742, allocations: 187.2 kB / 1.388 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.237, allocations: 3.938 kB / 1.388 GB, free: 8.004 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat does not exist to compare? outputFormat=mat