Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",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.0008298/0.0008297, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008761/0.0008762, allocations: 172.7 kB / 15.95 MB, free: 208 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.463/1.463, allocations: 223.2 MB / 240 MB, free: 5.449 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.46/2.46, allocations: 390.4 MB / 0.6655 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003733, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.821/0.8214, allocations: 142.3 MB / 0.9539 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.0009984/0.8225, allocations: 478.8 kB / 0.9543 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009056/0.8234, allocations: 0.8558 MB / 0.9552 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.8235, allocations: 1.469 kB / 0.9552 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.8235, allocations: 3.938 kB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.467e-05/0.8236, allocations: 5.438 kB / 0.9552 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.8238, allocations: 33.77 kB / 0.9552 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.8239, allocations: 71.58 kB / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.824, allocations: 20.52 kB / 0.9553 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.8241, allocations: 36.28 kB / 0.9553 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.8242, allocations: 44 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.8242, allocations: 4.031 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.8242, allocations: 2.812 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.8242, allocations: 15.48 kB / 0.9554 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.8243, allocations: 32.02 kB / 0.9554 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.802e-05/0.8244, allocations: 56.23 kB / 0.9555 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.8244, allocations: 3.984 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8244, allocations: 1.219 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.8244, allocations: 0 / 0.9555 GB, free: 6.77 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.0005154/0.8249, allocations: 395.5 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.825, allocations: 13.38 kB / 0.9559 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.825, allocations: 36.81 kB / 0.9559 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.8251, allocations: 7.438 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.8252, allocations: 179.5 kB / 0.9561 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.8252, allocations: 2.625 kB / 0.9561 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.8252, allocations: 8.125 kB / 0.9561 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.8255, allocations: 113.6 kB / 0.9562 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.8255, allocations: 0 / 0.9562 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.8256, allocations: 5.078 kB / 0.9562 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.8256, allocations: 5.344 kB / 0.9562 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.8259, allocations: 126.2 kB / 0.9563 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.8264, allocations: 344.5 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.827, allocations: 131.8 kB / 0.9568 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.8272, allocations: 68 kB / 0.9568 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.8272, allocations: 0.8438 kB / 0.9568 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.8272, allocations: 35.61 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.8272, allocations: 1.188 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006554/0.8279, allocations: 210.9 kB / 0.9571 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.8279, allocations: 52.53 kB / 0.9571 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.828, allocations: 133.1 kB / 0.9573 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.8281, allocations: 31.08 kB / 0.9573 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.8281, allocations: 91.3 kB / 0.9574 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.8282, allocations: 25.89 kB / 0.9574 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.8282, allocations: 0 / 0.9574 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.8282, allocations: 317.2 kB / 0.9577 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.8284, allocations: 53.64 kB / 0.9578 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.8286, allocations: 57.95 kB / 0.9578 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.8288, allocations: 60.77 kB / 0.9579 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.8288, allocations: 3.953 kB / 0.9579 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003801/0.8292, allocations: 159.3 kB / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.8292, allocations: 5.375 kB / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.8292, allocations: 7.984 kB / 0.958 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.8292, allocations: 0 / 0.958 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.8294, allocations: 31.84 kB / 0.9581 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.8294, allocations: 1.219 kB / 0.9581 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.8295, allocations: 24.7 kB / 0.9581 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.8295, allocations: 5.453 kB / 0.9581 GB, free: 4.52 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 (intLesEqu.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.747e-05/0.8296, allocations: 114.8 kB / 0.9582 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.8296, allocations: 10.23 kB / 0.9582 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.8297, allocations: 9.656 kB / 0.9582 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.8297, allocations: 1.156 kB / 0.9582 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8297, allocations: 0 / 0.9582 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.8297, allocations: 5.375 kB / 0.9582 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.8299, allocations: 198.9 kB / 0.9584 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8299, allocations: 0 / 0.9584 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.83, allocations: 32.98 kB / 0.9585 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.83, allocations: 0 / 0.9585 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.8301, allocations: 2.031 kB / 0.9585 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8301, allocations: 0 / 0.9585 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8301, allocations: 0 / 0.9585 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.8305, allocations: 261.6 kB / 0.9587 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.8305, allocations: 87.95 kB / 0.9588 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.8305, allocations: 7.938 kB / 0.9588 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.8307, allocations: 16.36 kB / 0.9588 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.8308, allocations: 23.06 kB / 0.9588 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.8308, allocations: 2.688 kB / 0.9588 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.8308, allocations: 97.27 kB / 0.9589 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8308, allocations: 0 / 0.9589 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002315/0.8311, allocations: 23.88 kB / 0.959 GB, free: 3.723 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 (intLesEqu.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.0006084/0.8317, allocations: 0.7916 MB / 0.9597 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.8321, allocations: 123.5 kB / 0.9598 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8321, allocations: 1.375 kB / 0.9598 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.8323, allocations: 75.89 kB / 0.9599 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.8326, allocations: 16.06 kB / 0.9599 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.8339, allocations: 0.6492 MB / 0.9606 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.834, allocations: 0.6933 MB / 0.9612 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.481e-05/0.8341, allocations: 10.69 kB / 0.9613 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.8342, allocations: 29.47 kB / 0.9613 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8342, allocations: 0 / 0.9613 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.8473, allocations: 2.26 MB / 0.9635 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/0.8474, allocations: 195.2 kB / 0.9637 GB, free: 368 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.561, allocations: 5.062 kB / 0.9637 GB, free: 364 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat does not exist to compare? outputFormat=mat