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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001219, allocations: 95.62 kB / 15.05 MB, free: 1.113 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.001807/0.001807, allocations: 181.3 kB / 15.95 MB, free: 220 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.442/1.442, allocations: 223.2 MB / 239.9 MB, free: 5.309 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.48/2.48, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003364, allocations: 12 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7241/0.7245, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001013/0.7255, allocations: 486.7 kB / 0.9541 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000927/0.7265, allocations: 0.8484 MB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.7265, allocations: 1.156 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.7265, allocations: 7.875 kB / 0.9549 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.7266, allocations: 9.438 kB / 0.9549 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.7268, allocations: 43.3 kB / 0.955 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.7269, allocations: 41.36 kB / 0.955 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.727, allocations: 17.3 kB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.767e-05/0.7271, allocations: 36.94 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.7272, allocations: 39.78 kB / 0.9551 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.7272, allocations: 3.656 kB / 0.9551 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.682e-05/0.7272, allocations: 8 kB / 0.9551 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.7273, allocations: 13.73 kB / 0.9551 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.7273, allocations: 37.23 kB / 0.9551 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.342e-05/0.7274, allocations: 56.12 kB / 0.9552 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.7274, allocations: 0 / 0.9552 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.534e-06/0.7274, allocations: 0 / 0.9552 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.7274, allocations: 1.188 kB / 0.9552 GB, free: 6.84 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.0005263/0.7279, allocations: 393.4 kB / 0.9556 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.728, allocations: 14 kB / 0.9556 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.728, allocations: 39.73 kB / 0.9556 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.7281, allocations: 7.406 kB / 0.9556 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.764e-05/0.7282, allocations: 172.8 kB / 0.9558 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.7282, allocations: 6.25 kB / 0.9558 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.7282, allocations: 7.719 kB / 0.9558 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.7285, allocations: 113.4 kB / 0.9559 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7286, allocations: 0 / 0.9559 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.7286, allocations: 9.234 kB / 0.9559 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.7286, allocations: 5.078 kB / 0.9559 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.729, allocations: 115.2 kB / 0.956 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.7294, allocations: 358.2 kB / 0.9564 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.73, allocations: 132.6 kB / 0.9565 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.7301, allocations: 5.219 kB / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.7301, allocations: 31.81 kB / 0.9565 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.7301, allocations: 0 / 0.9565 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000687/0.7308, allocations: 212.1 kB / 0.9568 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.7308, allocations: 56.7 kB / 0.9568 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.7309, allocations: 125.8 kB / 0.9569 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.731, allocations: 25.7 kB / 0.9569 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.731, allocations: 96 kB / 0.957 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.7311, allocations: 22.3 kB / 0.9571 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.7311, allocations: 4 kB / 0.9571 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.7311, allocations: 317.2 kB / 0.9574 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.7313, allocations: 57.36 kB / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.7315, allocations: 61.42 kB / 0.9575 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.7317, allocations: 62.02 kB / 0.9575 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7317, allocations: 0 / 0.9575 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004124/0.7321, allocations: 167.7 kB / 0.9577 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.7322, allocations: 6.312 kB / 0.9577 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7322, allocations: 0 / 0.9577 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.7322, allocations: 5.844 kB / 0.9577 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.7324, allocations: 27.62 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.7324, allocations: 1.812 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.7325, allocations: 19.47 kB / 0.9578 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.7325, allocations: 2.656 kB / 0.9578 GB, free: 4.625 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 (min1.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.667e-05/0.7326, allocations: 116.5 kB / 0.9579 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.7326, allocations: 10.52 kB / 0.9579 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.7331, allocations: 178.8 kB / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.7331, allocations: 1.219 kB / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7331, allocations: 1.281 kB / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7331, allocations: 0 / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.7333, allocations: 195.5 kB / 0.9582 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.7333, allocations: 3.984 kB / 0.9582 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.7335, allocations: 33.47 kB / 0.9583 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7335, allocations: 5.109 kB / 0.9583 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.7335, allocations: 0 / 0.9583 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7335, allocations: 1 kB / 0.9583 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7335, allocations: 0 / 0.9583 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.734, allocations: 254.6 kB / 0.9585 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.734, allocations: 87.33 kB / 0.9586 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.7341, allocations: 9.109 kB / 0.9586 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.7342, allocations: 20.25 kB / 0.9586 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.7343, allocations: 18.05 kB / 0.9587 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.7343, allocations: 7.109 kB / 0.9587 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.7344, allocations: 92.8 kB / 0.9587 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7344, allocations: 0 / 0.9587 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002323/0.7346, allocations: 15.44 kB / 0.9588 GB, free: 3.742 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 (min1.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.0006551/0.7353, allocations: 0.7984 MB / 0.9595 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000411/0.7357, allocations: 129.1 kB / 0.9597 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7357, allocations: 0 / 0.9597 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.7359, allocations: 81.25 kB / 0.9597 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.7361, allocations: 6.703 kB / 0.9598 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.7374, allocations: 0.6449 MB / 0.9604 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.7375, allocations: 0.6994 MB / 0.9611 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.716e-05/0.7376, allocations: 12.67 kB / 0.9611 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.7376, allocations: 23.92 kB / 0.9611 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7377, allocations: 4 kB / 0.9611 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.7503, allocations: 2.225 MB / 0.9633 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.7505, allocations: 180.3 kB / 0.9634 GB, free: 400 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.491, allocations: 0 / 0.9634 GB, free: 400 kB / 0.7169 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