Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.323/2.323, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001106/0.001106, allocations: 182.7 kB / 0.4901 GB, free: 2.246 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.467/1.467, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0007644/0.0007641, allocations: 90.95 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 14.16 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2857, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.4782, allocations: 149.9 MB / 1.376 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.4785, allocations: 63.97 kB / 1.376 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004726/0.4832, allocations: 1.435 MB / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4832, allocations: 0 / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.4833, allocations: 4 kB / 1.377 GB, free: 2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006297/0.4839, allocations: 391.1 kB / 1.378 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.484, allocations: 12.56 kB / 1.378 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.441e-05/0.484, allocations: 42.55 kB / 1.378 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.4841, allocations: 7.906 kB / 1.378 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.4842, allocations: 174.9 kB / 1.378 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.4843, allocations: 4 kB / 1.378 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.4843, allocations: 8 kB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.4847, allocations: 121.5 kB / 1.378 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4847, allocations: 0 / 1.378 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4847, allocations: 0 / 1.378 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4847, allocations: 4 kB / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.4851, allocations: 119.9 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.4857, allocations: 340.6 kB / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.4864, allocations: 134.6 kB / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.4864, allocations: 7.984 kB / 1.378 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.4865, allocations: 36.25 kB / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.4865, allocations: 0 / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0007164/0.4872, allocations: 217.6 kB / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.4872, allocations: 51.41 kB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.4874, allocations: 120.9 kB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.4874, allocations: 29.7 kB / 1.379 GB, free: 16 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.4875, allocations: 95.98 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.4875, allocations: 23.73 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.4875, allocations: 0 / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4877, allocations: 314.8 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.4879, allocations: 59.95 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.4881, allocations: 56.17 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.4883, allocations: 63.94 kB / 1.38 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4883, allocations: 0 / 1.38 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004251/0.4887, allocations: 161.4 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4887, allocations: 11.94 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4887, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.4888, allocations: 3.953 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.489, allocations: 31.97 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.489, allocations: 0 / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.4891, allocations: 15.98 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.4892, allocations: 11.98 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.u1,min1.u2,min1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.4893, allocations: 113.8 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.4893, allocations: 7.906 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005274/0.4899, allocations: 173.9 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4899, allocations: 0 / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4899, allocations: 3.953 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4899, allocations: 0 / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.4901, allocations: 205.5 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4902, allocations: 0 / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.4903, allocations: 27.97 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.4904, allocations: 4 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.4904, allocations: 11.98 kB / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4904, allocations: 3.938 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4904, allocations: 0 / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.4909, allocations: 259.3 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.491, allocations: 84.95 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.491, allocations: 4 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.4912, allocations: 23.98 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/0.4913, allocations: 15.97 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.4913, allocations: 4 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.281e-05/0.4913, allocations: 95.22 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4914, allocations: 0 / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002456/0.4916, allocations: 20 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.u1,min1.u2,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0009015/0.4925, allocations: 0.799 MB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.4929, allocations: 123.9 kB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.493, allocations: 4 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.4932, allocations: 68.56 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.4935, allocations: 16.06 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.495, allocations: 0.6613 MB / 1.382 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.4953, allocations: 0.6889 MB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.928e-05/0.4954, allocations: 16.17 kB / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.79e-05/0.4955, allocations: 27.36 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/0.4955, allocations: 4 kB / 1.383 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.512, allocations: 2.236 MB / 1.385 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.5123, allocations: 182.3 kB / 1.385 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.144, allocations: 4 kB / 1.385 GB, free: 9.172 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat does not exist to compare? outputFormat=mat