Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.001195/0.001195, 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.001636/0.001636, 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.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.254 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.472/2.472, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003327, allocations: 12 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.8383, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0009141/0.8393, allocations: 423.6 kB / 0.954 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.8403, allocations: 0.827 MB / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.8404, allocations: 1.5 kB / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.8404, allocations: 0 / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.776e-05/0.8405, allocations: 5.297 kB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.8407, allocations: 20.89 kB / 0.9548 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.383e-05/0.8408, allocations: 23.03 kB / 0.9549 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.8409, allocations: 12.98 kB / 0.9549 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.482e-05/0.841, allocations: 22.25 kB / 0.9549 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.437e-05/0.841, allocations: 23.11 kB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.8411, allocations: 5.281 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.8411, allocations: 2.594 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.8411, allocations: 9.516 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.8411, allocations: 30.64 kB / 0.955 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.05e-05/0.8412, allocations: 34.72 kB / 0.955 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8412, allocations: 0 / 0.955 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8412, allocations: 0 / 0.955 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.8412, allocations: 1.156 kB / 0.955 GB, free: 6.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004697/0.8417, allocations: 354.1 kB / 0.9553 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.8418, allocations: 9.656 kB / 0.9553 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.8418, allocations: 31.5 kB / 0.9554 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.8419, allocations: 6.188 kB / 0.9554 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.842, allocations: 174 kB / 0.9555 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.842, allocations: 1.344 kB / 0.9555 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.842, allocations: 2.219 kB / 0.9555 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.8423, allocations: 72.88 kB / 0.9556 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8423, allocations: 0 / 0.9556 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.8423, allocations: 3.953 kB / 0.9556 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.8423, allocations: 5.219 kB / 0.9556 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.8425, allocations: 60.61 kB / 0.9557 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.843, allocations: 294.6 kB / 0.956 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.8432, allocations: 68.02 kB / 0.956 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.8432, allocations: 9.109 kB / 0.956 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.8432, allocations: 31.53 kB / 0.9561 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.8432, allocations: 0 / 0.9561 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004443/0.8437, allocations: 128.1 kB / 0.9562 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.8437, allocations: 51.41 kB / 0.9562 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.8438, allocations: 111.7 kB / 0.9563 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.8438, allocations: 25.7 kB / 0.9564 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.8439, allocations: 89.14 kB / 0.9565 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.8439, allocations: 9.844 kB / 0.9565 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.8439, allocations: 3.938 kB / 0.9565 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.254e-05/0.844, allocations: 325.2 kB / 0.9568 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.8441, allocations: 28.11 kB / 0.9568 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.681e-05/0.8442, allocations: 30.25 kB / 0.9568 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.8443, allocations: 28.48 kB / 0.9569 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8443, allocations: 1.062 kB / 0.9569 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002574/0.8446, allocations: 89.58 kB / 0.9569 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.8446, allocations: 9.016 kB / 0.957 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.8446, allocations: 1.531 kB / 0.957 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.8447, allocations: 0 / 0.957 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.8448, allocations: 21.52 kB / 0.957 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.8448, allocations: 5.375 kB / 0.957 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.8449, allocations: 14.3 kB / 0.957 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.8449, allocations: 1.281 kB / 0.957 GB, free: 5.043 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.339e-05/0.845, allocations: 113 kB / 0.9571 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.845, allocations: 5.156 kB / 0.9571 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.8451, allocations: 13.02 kB / 0.9571 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.8451, allocations: 4.984 kB / 0.9571 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.8451, allocations: 5.062 kB / 0.9571 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.8451, allocations: 0 / 0.9571 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.8453, allocations: 167.9 kB / 0.9573 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8453, allocations: 0 / 0.9573 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.161e-05/0.8454, allocations: 18.23 kB / 0.9573 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.8454, allocations: 1.062 kB / 0.9573 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.8454, allocations: 3.984 kB / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.8454, allocations: 9.172 kB / 0.9573 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8454, allocations: 0 / 0.9573 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.8457, allocations: 189.2 kB / 0.9575 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.8458, allocations: 78.27 kB / 0.9576 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.8458, allocations: 5.031 kB / 0.9576 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.8459, allocations: 14.52 kB / 0.9576 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.846, allocations: 16.47 kB / 0.9576 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.846, allocations: 1.062 kB / 0.9576 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.846, allocations: 85.44 kB / 0.9577 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.846, allocations: 0 / 0.9577 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000233/0.8463, allocations: 6.719 kB / 0.9577 GB, free: 4.32 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005684/0.8468, allocations: 0.7328 MB / 0.9584 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.8471, allocations: 75.02 kB / 0.9585 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8472, allocations: 0 / 0.9585 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.8473, allocations: 35.41 kB / 0.9585 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.8475, allocations: 10.89 kB / 0.9585 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.8486, allocations: 477.3 kB / 0.959 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.8488, allocations: 0.6866 MB / 0.9597 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.737e-05/0.8488, allocations: 7.125 kB / 0.9597 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.8489, allocations: 21.39 kB / 0.9597 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/0.8489, allocations: 0 / 0.9597 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.8621, allocations: 1.504 MB / 0.9612 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.8624, allocations: 202.4 kB / 0.9614 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.582, allocations: 0 / 0.9614 GB, free: 1.504 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat