Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.605/2.605, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001077/0.001077, allocations: 179.6 kB / 0.4901 GB, free: 2.242 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.549/1.549, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0008794/0.0008793, allocations: 100.2 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 7.5 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3201, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.4956, allocations: 149.9 MB / 1.376 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4958, allocations: 67.95 kB / 1.376 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004599/0.5004, allocations: 1.435 MB / 1.377 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5005, allocations: 0 / 1.377 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.5005, allocations: 0 / 1.377 GB, free: 1.977 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.0006132/0.5011, allocations: 399.1 kB / 1.378 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5012, allocations: 8.562 kB / 1.378 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.5012, allocations: 38.56 kB / 1.378 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.5012, allocations: 7.906 kB / 1.378 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.5014, allocations: 182.9 kB / 1.378 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.5014, allocations: 8 kB / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.5014, allocations: 8 kB / 1.378 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.5018, allocations: 113.5 kB / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.5018, allocations: 0 / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.5018, allocations: 0 / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5018, allocations: 4 kB / 1.378 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.5023, allocations: 127.9 kB / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.5029, allocations: 332.6 kB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.5035, allocations: 134.6 kB / 1.378 GB, free: 492 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.5036, allocations: 4.141 kB / 1.378 GB, free: 488 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.5036, allocations: 32.25 kB / 1.379 GB, free: 448 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.5036, allocations: 0 / 1.379 GB, free: 448 kB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0007112/0.5043, allocations: 225.3 kB / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.5044, allocations: 55.41 kB / 1.379 GB, free: 148 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.699e-05/0.5045, allocations: 109 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.5045, allocations: 25.7 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.5046, allocations: 104 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.5046, allocations: 15.75 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.5046, allocations: 8 kB / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5047, allocations: 314.8 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.5049, allocations: 55.95 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.5051, allocations: 59.95 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.5053, allocations: 55.95 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5053, allocations: 0 / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004331/0.5058, allocations: 165.4 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.5058, allocations: 4 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5058, allocations: 3.938 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5058, allocations: 3.953 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.506, allocations: 31.97 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5061, allocations: 0 / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.5062, allocations: 23.97 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.5062, allocations: 0 / 1.38 GB, free: 15.15 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 (max1.u1,max1.u2,max1.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 9.823e-05/0.5063, allocations: 117.8 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.5064, allocations: 11.89 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005143/0.5069, allocations: 174.4 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5069, allocations: 4 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5069, allocations: 7.953 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5069, allocations: 0 / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.5072, allocations: 201.5 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.5072, allocations: 0 / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.5074, allocations: 31.97 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5074, allocations: 0 / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.5074, allocations: 0 / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5074, allocations: 3.938 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5074, allocations: 4 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.5079, allocations: 267.4 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.508, allocations: 88.95 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.508, allocations: 0 / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.5082, allocations: 19.97 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/0.5083, allocations: 23.97 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.5083, allocations: 0 / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.779e-05/0.5084, allocations: 103.7 kB / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5084, allocations: 0 / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002538/0.5086, allocations: 16 kB / 1.381 GB, free: 14 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 (max1.u1,max1.u2,max1.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.0009062/0.5096, allocations: 0.7951 MB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004402/0.51, allocations: 127.9 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.51, allocations: 4 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.5103, allocations: 67.89 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.5105, allocations: 12.44 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.5121, allocations: 0.6618 MB / 1.382 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.5124, allocations: 0.6965 MB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.5126, allocations: 12.38 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.5126, allocations: 23.42 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of SimCode: time 4.028e-06/0.5127, allocations: 7.875 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.5256, allocations: 2.23 MB / 1.385 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.5258, allocations: 184.1 kB / 1.385 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.099, allocations: 0 / 1.385 GB, free: 9.148 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat does not exist to compare? outputFormat=mat