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.217/2.217, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001379/0.001379, allocations: 168.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.3 MB / 0.7915 GB, free: 5.355 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.001139/0.001139, allocations: 83.97 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.024e-05/5.034e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3262, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9685/1.295, allocations: 149.9 MB / 1.365 GB, free: 4.039 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/1.295, allocations: 70.77 kB / 1.365 GB, free: 4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00463/1.3, allocations: 1.435 MB / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.923e-06/1.3, allocations: 0 / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.226e-06/1.3, allocations: 0 / 1.367 GB, free: 2.734 MB / 0.823 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.0005743/1.3, allocations: 389.5 kB / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/1.3, allocations: 12.02 kB / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/1.3, allocations: 33.81 kB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/1.301, allocations: 7.906 kB / 1.367 GB, free: 2.258 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/1.301, allocations: 175 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/1.301, allocations: 3.062 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/1.301, allocations: 4 kB / 1.367 GB, free: 2.043 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/1.301, allocations: 82.28 kB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.301, allocations: 0 / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/1.301, allocations: 7.188 kB / 1.367 GB, free: 1.969 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/1.301, allocations: 7.984 kB / 1.367 GB, free: 1.961 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/1.301, allocations: 44.25 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/1.302, allocations: 348 kB / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/1.302, allocations: 98.72 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/1.302, allocations: 26.8 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/1.302, allocations: 0 / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/1.302, allocations: 34.56 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/1.302, allocations: 0 / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002379/1.303, allocations: 102.9 kB / 1.368 GB, free: 1.344 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/1.303, allocations: 51.41 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/1.303, allocations: 119.9 kB / 1.368 GB, free: 1.164 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/1.303, allocations: 25.7 kB / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/1.303, allocations: 93.8 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/1.303, allocations: 19.28 kB / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/1.303, allocations: 0 / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.303, allocations: 317.6 kB / 1.369 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-05/1.303, allocations: 30.73 kB / 1.369 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.392e-05/1.303, allocations: 22.55 kB / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.204e-05/1.303, allocations: 18.88 kB / 1.369 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.303, allocations: 4 kB / 1.369 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001578/1.303, allocations: 94.38 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.303, allocations: 4 kB / 1.369 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/1.303, allocations: 80 / 1.369 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/1.303, allocations: 3.953 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/1.303, allocations: 27.97 kB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.304, allocations: 7.984 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/1.304, allocations: 23.61 kB / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/1.304, allocations: 3.984 kB / 1.369 GB, free: 0.5117 MB / 0.823 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 () * 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 8.625e-05/1.304, allocations: 108.9 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/1.304, allocations: 3.906 kB / 1.369 GB, free: 404 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/1.304, allocations: 109.7 kB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.304, allocations: 3.953 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.304, allocations: 4 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.304, allocations: 0 / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/1.304, allocations: 203.6 kB / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.304, allocations: 0 / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/1.304, allocations: 27.97 kB / 1.369 GB, free: 36 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.304, allocations: 3.984 kB / 1.369 GB, free: 32 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/1.304, allocations: 4 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.304, allocations: 0 / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.304, allocations: 7.953 kB / 1.369 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/1.305, allocations: 183.7 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/1.305, allocations: 81.02 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/1.305, allocations: 0 / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/1.305, allocations: 19.97 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/1.305, allocations: 22.48 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/1.305, allocations: 12.75 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.365e-05/1.305, allocations: 89.97 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.305, allocations: 0 / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002341/1.305, allocations: 20.12 kB / 1.37 GB, free: 15.6 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: 3 (min1.u1,min1.u2,min1.y) * Number of discrete 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.0005568/1.306, allocations: 0.7352 MB / 1.37 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001653/1.306, allocations: 61.36 kB / 1.37 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.306, allocations: 0 / 1.37 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.625e-05/1.306, allocations: 42.42 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/1.306, allocations: 10.33 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/1.307, allocations: 148.8 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/1.307, allocations: 0.6965 MB / 1.371 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.195e-05/1.307, allocations: 8.172 kB / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/1.307, allocations: 33.92 kB / 1.371 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.307, allocations: 0 / 1.371 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/1.32, allocations: 2.245 MB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.32, allocations: 161.6 kB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.856, allocations: 0 / 1.374 GB, free: 11.52 MB / 0.8386 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