Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001053/0.001053, allocations: 188.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.625/1.625, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 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.0009302/0.0009302, allocations: 87.91 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.91e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3583, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.408, allocations: 148.4 MB / 1.351 GB, free: 18.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/1.408, allocations: 70.02 kB / 1.351 GB, free: 18.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005306/1.413, allocations: 1.425 MB / 1.352 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.422e-06/1.413, allocations: 0 / 1.352 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.306e-06/1.413, allocations: 0 / 1.352 GB, free: 33.69 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.0005039/1.414, allocations: 387.1 kB / 1.353 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.414, allocations: 12.25 kB / 1.353 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/1.414, allocations: 7.719 kB / 1.353 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/1.414, allocations: 179.8 kB / 1.353 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.414, allocations: 0 / 1.353 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/1.414, allocations: 4.578 kB / 1.353 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001232/1.414, allocations: 47.05 kB / 1.353 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/1.415, allocations: 68.55 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.415, allocations: 4.5 kB / 1.353 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.415, allocations: 2.062 kB / 1.353 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/1.415, allocations: 3.875 kB / 1.353 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/1.415, allocations: 314.3 kB / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/1.416, allocations: 95.11 kB / 1.354 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/1.416, allocations: 30.56 kB / 1.354 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/1.416, allocations: 4.578 kB / 1.354 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/1.416, allocations: 34.38 kB / 1.354 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/1.416, allocations: 0 / 1.354 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002224/1.416, allocations: 86.67 kB / 1.354 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/1.416, allocations: 51.41 kB / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/1.416, allocations: 110.7 kB / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/1.416, allocations: 30.28 kB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/1.416, allocations: 97.83 kB / 1.354 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/1.416, allocations: 25 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/1.416, allocations: 0 / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.416, allocations: 319.9 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/1.416, allocations: 20.2 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/1.416, allocations: 23.52 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.499e-05/1.416, allocations: 22.14 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.416, allocations: 0 / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001214/1.417, allocations: 80.45 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.417, allocations: 13.38 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/1.417, allocations: 0.6094 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.417, allocations: 0 / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/1.417, allocations: 27.58 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/1.417, allocations: 320 / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/1.417, allocations: 28.72 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/1.417, allocations: 4.656 kB / 1.354 GB, free: 32.06 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 (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 7.208e-05/1.417, allocations: 101.5 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001373/1.417, allocations: 95.97 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/1.417, allocations: 8.547 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/1.417, allocations: 88.45 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.417, allocations: 4.484 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.417, allocations: 3.953 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.417, allocations: 6.516 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/1.418, allocations: 176.7 kB / 1.355 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.418, allocations: 0 / 1.355 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/1.418, allocations: 31.66 kB / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/1.418, allocations: 3.875 kB / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/1.418, allocations: 1.312 kB / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.418, allocations: 0 / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.418, allocations: 0 / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/1.418, allocations: 188.5 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/1.418, allocations: 83.09 kB / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/1.418, allocations: 2.109 kB / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/1.418, allocations: 16.69 kB / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/1.418, allocations: 20.22 kB / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/1.418, allocations: 4.781 kB / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.878e-05/1.418, allocations: 95.7 kB / 1.355 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.418, allocations: 0 / 1.355 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002367/1.419, allocations: 15.81 kB / 1.355 GB, free: 31.38 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.0004663/1.419, allocations: 0.7322 MB / 1.356 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001459/1.419, allocations: 54.03 kB / 1.356 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.419, allocations: 0 / 1.356 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/1.419, allocations: 40.8 kB / 1.356 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/1.42, allocations: 9.062 kB / 1.356 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/1.42, allocations: 142.9 kB / 1.356 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.42, allocations: 0.6934 MB / 1.357 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.402e-05/1.42, allocations: 14.03 kB / 1.357 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/1.42, allocations: 26.75 kB / 1.357 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.42, allocations: 0 / 1.357 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/1.44, allocations: 1.897 MB / 1.359 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/1.441, allocations: 139 kB / 1.359 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/2.908, allocations: 0 / 1.359 GB, free: 29.58 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat does not exist to compare? outputFormat=mat