Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001109/0.001109, allocations: 178.8 kB / 498.1 MB, free: 5.766 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.526/1.526, allocations: 223.2 MB / 0.7948 GB, free: 17.97 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.0009304/0.0009304, allocations: 87.89 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003912, allocations: 11.38 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.286, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.4618, allocations: 149.1 MB / 1.369 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4621, allocations: 63.97 kB / 1.369 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004555/0.4667, allocations: 1.434 MB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.186e-06/0.4668, allocations: 4 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.4668, allocations: 0 / 1.37 GB, free: 11.39 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.000699/0.4675, allocations: 403 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.4675, allocations: 8.031 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.513e-05/0.4676, allocations: 42.48 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.4677, allocations: 7.906 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.4679, allocations: 178.9 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.4679, allocations: 0 / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.468, allocations: 8 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.4683, allocations: 113.6 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4683, allocations: 0 / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.4684, allocations: 8 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.4684, allocations: 0 / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.4688, allocations: 123.8 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.4694, allocations: 340.6 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.4701, allocations: 134.5 kB / 1.371 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.4702, allocations: 4.062 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4702, allocations: 30.56 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.4702, allocations: 0 / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0006989/0.4709, allocations: 213.5 kB / 1.372 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.471, allocations: 63.27 kB / 1.372 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4711, allocations: 120.8 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.4711, allocations: 25.7 kB / 1.372 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.4712, allocations: 96.14 kB / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.4712, allocations: 19.84 kB / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.4712, allocations: 4 kB / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4713, allocations: 314.8 kB / 1.372 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.4715, allocations: 55.95 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.4717, allocations: 59.95 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.4719, allocations: 55.95 kB / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4719, allocations: 0 / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004483/0.4724, allocations: 157.6 kB / 1.373 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.4724, allocations: 4 kB / 1.373 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4724, allocations: 0 / 1.373 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.4724, allocations: 3.953 kB / 1.373 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.4727, allocations: 31.91 kB / 1.373 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.4727, allocations: 7.938 kB / 1.373 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.4728, allocations: 31.83 kB / 1.373 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.4729, allocations: 3.984 kB / 1.373 GB, free: 8.551 MB / 0.8698 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 0.0001424/0.473, allocations: 117.8 kB / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.473, allocations: 11.84 kB / 1.373 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005752/0.4736, allocations: 166 kB / 1.373 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4736, allocations: 0 / 1.373 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.4737, allocations: 7.953 kB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4737, allocations: 7.984 kB / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.474, allocations: 193.6 kB / 1.373 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.474, allocations: 3.938 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.4741, allocations: 27.97 kB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4742, allocations: 4 kB / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4742, allocations: 3.984 kB / 1.373 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4742, allocations: 0 / 1.373 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.4742, allocations: 4.625 kB / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.4747, allocations: 263.3 kB / 1.373 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.4747, allocations: 81.11 kB / 1.373 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.4748, allocations: 0 / 1.373 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.4749, allocations: 15.98 kB / 1.373 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.475, allocations: 19.97 kB / 1.373 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.475, allocations: 11.98 kB / 1.374 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.4751, allocations: 99.16 kB / 1.374 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4751, allocations: 0 / 1.374 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002451/0.4753, allocations: 32.02 kB / 1.374 GB, free: 7.398 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: 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.0008498/0.4762, allocations: 0.7942 MB / 1.374 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.4766, allocations: 123.8 kB / 1.375 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4766, allocations: 4 kB / 1.375 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.4769, allocations: 71.94 kB / 1.375 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.4771, allocations: 8 kB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.4785, allocations: 0.6653 MB / 1.375 GB, free: 5.66 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.4787, allocations: 0.6926 MB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.15e-05/0.4788, allocations: 16.17 kB / 1.376 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.4789, allocations: 23.42 kB / 1.376 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of SimCode: time 6.32e-07/0.4789, allocations: 192 / 1.376 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.4931, allocations: 2.221 MB / 1.378 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.4933, allocations: 180.4 kB / 1.378 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.045, allocations: 3.938 kB / 1.378 GB, free: 2.559 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat does not exist to compare? outputFormat=mat