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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004422, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7859/0.7863, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0008081/0.7872, allocations: 486.8 kB / 0.9541 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.7879, allocations: 0.849 MB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.829e-05/0.788, allocations: 5 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.788, allocations: 3.984 kB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.7881, allocations: 9.844 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.7882, allocations: 38.83 kB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.456e-05/0.7883, allocations: 37.2 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.7884, allocations: 27.12 kB / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.7885, allocations: 27.08 kB / 0.955 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.587e-05/0.7885, allocations: 44.66 kB / 0.9551 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.7886, allocations: 6.469 kB / 0.9551 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.7886, allocations: 7.594 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.7886, allocations: 10.39 kB / 0.9551 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.7886, allocations: 36.86 kB / 0.9551 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.773e-05/0.7887, allocations: 56.03 kB / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.7887, allocations: 0.8438 kB / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7887, allocations: 0 / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7887, allocations: 0 / 0.9552 GB, free: 6.805 MB / 0.7169 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.0004765/0.7892, allocations: 402.5 kB / 0.9556 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.7893, allocations: 9.438 kB / 0.9556 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.7893, allocations: 35.61 kB / 0.9556 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.7893, allocations: 7.719 kB / 0.9556 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.645e-05/0.7894, allocations: 183.7 kB / 0.9558 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.7894, allocations: 3.438 kB / 0.9558 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.7895, allocations: 8 kB / 0.9558 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.7898, allocations: 113.3 kB / 0.9559 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7898, allocations: 3.984 kB / 0.9559 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.7898, allocations: 4.953 kB / 0.9559 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.7898, allocations: 1.281 kB / 0.9559 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.7902, allocations: 118.8 kB / 0.956 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.7906, allocations: 351.1 kB / 0.9564 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.7912, allocations: 131.6 kB / 0.9565 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.7913, allocations: 1.125 kB / 0.9565 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.7913, allocations: 35.53 kB / 0.9565 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.7913, allocations: 0 / 0.9565 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006627/0.792, allocations: 216.9 kB / 0.9567 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.792, allocations: 52.69 kB / 0.9568 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.7921, allocations: 121.6 kB / 0.9569 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.7921, allocations: 25.7 kB / 0.9569 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.7921, allocations: 95.03 kB / 0.957 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.7922, allocations: 19.31 kB / 0.957 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.7922, allocations: 4 kB / 0.9571 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.7922, allocations: 320 kB / 0.9574 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.7924, allocations: 57.98 kB / 0.9574 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.7926, allocations: 62.33 kB / 0.9575 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.7928, allocations: 57.89 kB / 0.9575 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7928, allocations: 0 / 0.9575 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004074/0.7932, allocations: 166.3 kB / 0.9577 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.7932, allocations: 6.844 kB / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7932, allocations: 0.9688 kB / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.7933, allocations: 0 / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.7934, allocations: 29.38 kB / 0.9577 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7934, allocations: 1.031 kB / 0.9577 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.7936, allocations: 25.75 kB / 0.9577 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.7936, allocations: 4 kB / 0.9578 GB, free: 4.594 MB / 0.7169 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.y,reaToInt.y,reaToInt1.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 7.468e-05/0.7937, allocations: 114.3 kB / 0.9579 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.7937, allocations: 14.86 kB / 0.9579 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.7942, allocations: 178.3 kB / 0.958 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7942, allocations: 1.469 kB / 0.958 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7942, allocations: 0 / 0.958 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.7942, allocations: 0 / 0.958 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.7944, allocations: 199.9 kB / 0.9582 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7944, allocations: 4 kB / 0.9582 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.7946, allocations: 29.84 kB / 0.9583 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7946, allocations: 3.953 kB / 0.9583 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.7946, allocations: 1.781 kB / 0.9583 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7946, allocations: 0 / 0.9583 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7946, allocations: 0 / 0.9583 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.7951, allocations: 263.1 kB / 0.9585 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.7951, allocations: 87.7 kB / 0.9586 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.7951, allocations: 7.938 kB / 0.9586 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.7953, allocations: 20.59 kB / 0.9586 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.7954, allocations: 18.98 kB / 0.9587 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.7954, allocations: 5.484 kB / 0.9587 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.7954, allocations: 92.77 kB / 0.9587 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7954, allocations: 0 / 0.9587 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002346/0.7957, allocations: 24.06 kB / 0.9588 GB, free: 3.695 MB / 0.7169 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.y,reaToInt.y,reaToInt1.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.0006172/0.7963, allocations: 0.795 MB / 0.9595 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.7967, allocations: 120.1 kB / 0.9597 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7967, allocations: 1.25 kB / 0.9597 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.7969, allocations: 84.61 kB / 0.9597 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.7971, allocations: 6.547 kB / 0.9597 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.7984, allocations: 0.6449 MB / 0.9604 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.7985, allocations: 0.6957 MB / 0.9611 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.976e-05/0.7986, allocations: 15.05 kB / 0.9611 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.7987, allocations: 28.92 kB / 0.9611 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7987, allocations: 0 / 0.9611 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.81, allocations: 2.223 MB / 0.9633 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001227/0.8102, allocations: 183.4 kB / 0.9634 GB, free: 360 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.533, allocations: 0 / 0.9634 GB, free: 360 kB / 0.7169 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