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.419/2.419, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001056/0.001056, allocations: 192.8 kB / 487.4 MB, free: 5.055 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.572/1.572, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009354/0.0009352, allocations: 90.33 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.651e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.331, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.36, allocations: 148.4 MB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/1.36, allocations: 67.72 kB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005151/1.365, allocations: 1.423 MB / 1.352 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.365, allocations: 0 / 1.352 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.365, allocations: 3.844 kB / 1.352 GB, free: 33.79 MB / 0.8386 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.0005263/1.366, allocations: 395.6 kB / 1.353 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.366, allocations: 8.109 kB / 1.353 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/1.366, allocations: 7.656 kB / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/1.366, allocations: 180.6 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/1.366, allocations: 3.594 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/1.366, allocations: 3.969 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/1.366, allocations: 48.17 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/1.366, allocations: 68.97 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.366, allocations: 7.938 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/1.366, allocations: 0.75 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.366, allocations: 7.891 kB / 1.353 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/1.367, allocations: 307 kB / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/1.367, allocations: 96.92 kB / 1.354 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/1.367, allocations: 28 kB / 1.354 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/1.367, allocations: 4.516 kB / 1.354 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/1.368, allocations: 34.34 kB / 1.354 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/1.368, allocations: 0 / 1.354 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002215/1.368, allocations: 82.05 kB / 1.354 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/1.368, allocations: 59.28 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/1.368, allocations: 111.8 kB / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/1.368, allocations: 29.8 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/1.368, allocations: 97.17 kB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/1.368, allocations: 25.48 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/1.368, allocations: 0 / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.368, allocations: 315.8 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/1.368, allocations: 18.92 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/1.368, allocations: 20.03 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.344e-05/1.368, allocations: 24.83 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.368, allocations: 3.844 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001346/1.368, allocations: 84.59 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.368, allocations: 3.812 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.368, allocations: 0.5625 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/1.368, allocations: 0 / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/1.369, allocations: 31.08 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.369, allocations: 0.5625 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/1.369, allocations: 28.55 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/1.369, allocations: 4.594 kB / 1.354 GB, free: 32.16 MB / 0.8386 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 () * 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.09e-05/1.369, allocations: 103 kB / 1.355 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001553/1.369, allocations: 84.33 kB / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/1.369, allocations: 6.406 kB / 1.355 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/1.369, allocations: 97.5 kB / 1.355 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.369, allocations: 0.6094 kB / 1.355 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.369, allocations: 9.141 kB / 1.355 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.369, allocations: 0.7969 kB / 1.355 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/1.37, allocations: 178.1 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.37, allocations: 3.875 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/1.37, allocations: 31.47 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.37, allocations: 0 / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/1.37, allocations: 6.297 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.37, allocations: 3.875 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.37, allocations: 0 / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/1.37, allocations: 178.4 kB / 1.355 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/1.37, allocations: 85.5 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/1.37, allocations: 0.5625 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/1.37, allocations: 21.05 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/1.37, allocations: 23.67 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/1.37, allocations: 5.406 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.87e-05/1.37, allocations: 95.19 kB / 1.355 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.37, allocations: 0 / 1.355 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002231/1.371, allocations: 16.36 kB / 1.355 GB, free: 31.48 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 (max1.u1,max1.u2,max1.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.0004673/1.371, allocations: 0.7345 MB / 1.356 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001348/1.371, allocations: 51.41 kB / 1.356 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.371, allocations: 0 / 1.356 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.418e-05/1.371, allocations: 40.94 kB / 1.356 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/1.372, allocations: 5.562 kB / 1.356 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/1.372, allocations: 147.3 kB / 1.356 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/1.372, allocations: 0.6983 MB / 1.357 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.543e-05/1.372, allocations: 9.594 kB / 1.357 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/1.372, allocations: 26.72 kB / 1.357 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.372, allocations: 0 / 1.357 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/1.393, allocations: 1.885 MB / 1.359 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/1.393, allocations: 137.1 kB / 1.359 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.886, allocations: 3.781 kB / 1.359 GB, free: 29.68 MB / 0.8386 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