Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Integers.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.000991/0.000991, allocations: 169.1 kB / 498.1 MB, free: 5.75 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.464/1.464, allocations: 223.1 MB / 0.7948 GB, free: 18.81 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.0008987/0.0008987, allocations: 99.27 kB / 0.9346 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 9.906 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2738, allocations: 142.4 MB / 1.223 GB, free: 89.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/0.4611, allocations: 149.1 MB / 1.369 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.4614, allocations: 63.97 kB / 1.369 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004512/0.4659, allocations: 1.425 MB / 1.37 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.715e-06/0.466, allocations: 0 / 1.37 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.466, allocations: 4 kB / 1.37 GB, free: 2.609 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.000593/0.4666, allocations: 402.9 kB / 1.37 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.4667, allocations: 12.03 kB / 1.37 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.4667, allocations: 38.55 kB / 1.37 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.4668, allocations: 7.906 kB / 1.37 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4669, allocations: 182.8 kB / 1.371 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.467, allocations: 4 kB / 1.371 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.467, allocations: 12 kB / 1.371 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.4673, allocations: 121.5 kB / 1.371 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4673, allocations: 0 / 1.371 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.4674, allocations: 0 / 1.371 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.4674, allocations: 4 kB / 1.371 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.4678, allocations: 115.9 kB / 1.371 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.4683, allocations: 348.6 kB / 1.371 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.469, allocations: 130.6 kB / 1.371 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.469, allocations: 160 / 1.371 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.469, allocations: 38.55 kB / 1.371 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.4691, allocations: 0 / 1.371 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0007405/0.4698, allocations: 217.5 kB / 1.372 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.4698, allocations: 55.39 kB / 1.372 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.4699, allocations: 116.8 kB / 1.372 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.47, allocations: 25.7 kB / 1.372 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.47, allocations: 92.14 kB / 1.372 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.4701, allocations: 27.64 kB / 1.372 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.4701, allocations: 4 kB / 1.372 GB, free: 500 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4702, allocations: 314.8 kB / 1.372 GB, free: 176 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.4704, allocations: 59.89 kB / 1.372 GB, free: 116 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.4706, allocations: 55.95 kB / 1.372 GB, free: 60 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.4707, allocations: 55.95 kB / 1.372 GB, free: 4 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4708, allocations: 4 kB / 1.372 GB, free: 0 / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004589/0.4712, allocations: 162 kB / 1.373 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4713, allocations: 9.094 kB / 1.373 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4713, allocations: 0 / 1.373 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.4713, allocations: 3.953 kB / 1.373 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.4715, allocations: 27.97 kB / 1.373 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4715, allocations: 0 / 1.373 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.4716, allocations: 23.89 kB / 1.373 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.4717, allocations: 12.06 kB / 1.373 GB, free: 15.76 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.0001057/0.4718, allocations: 113.8 kB / 1.373 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.4718, allocations: 3.906 kB / 1.373 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.4723, allocations: 181.9 kB / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4724, allocations: 0 / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4724, allocations: 3.953 kB / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.4724, allocations: 7.922 kB / 1.373 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.4726, allocations: 201.6 kB / 1.373 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4726, allocations: 0 / 1.373 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.4728, allocations: 27.97 kB / 1.373 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4728, allocations: 0 / 1.373 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4728, allocations: 7.984 kB / 1.373 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4728, allocations: 0 / 1.373 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4728, allocations: 0 / 1.373 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.4733, allocations: 267.2 kB / 1.373 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.4734, allocations: 77.11 kB / 1.373 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.4734, allocations: 3.938 kB / 1.373 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.4736, allocations: 19.98 kB / 1.373 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.4737, allocations: 19.97 kB / 1.374 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.4737, allocations: 4 kB / 1.374 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.4737, allocations: 99.22 kB / 1.374 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4738, allocations: 0 / 1.374 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002419/0.474, allocations: 27.89 kB / 1.374 GB, free: 14.61 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.000786/0.4748, allocations: 0.7902 MB / 1.374 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.4752, allocations: 127.9 kB / 1.375 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4752, allocations: 0 / 1.375 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.4754, allocations: 79.88 kB / 1.375 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.4757, allocations: 8 kB / 1.375 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.477, allocations: 0.6582 MB / 1.375 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.4773, allocations: 0.6975 MB / 1.376 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.848e-05/0.4773, allocations: 16.17 kB / 1.376 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.4774, allocations: 23.42 kB / 1.376 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.4774, allocations: 3.938 kB / 1.376 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.4914, allocations: 2.219 MB / 1.378 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.4917, allocations: 173.9 kB / 1.378 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.036, allocations: 4 kB / 1.378 GB, free: 9.777 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat does not exist to compare? outputFormat=mat