Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.0008032/0.0008033, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008369/0.0008369, allocations: 168.7 kB / 15.95 MB, free: 204 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.408/1.408, allocations: 223.2 MB / 240 MB, free: 5.418 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.5/2.5, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 8 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.809, allocations: 142.3 MB / 0.9539 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.0007792/0.8098, allocations: 422.6 kB / 0.9543 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007488/0.8106, allocations: 0.8229 MB / 0.9551 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.8107, allocations: 0 / 0.9551 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.8107, allocations: 9.312 kB / 0.9551 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.8108, allocations: 0 / 0.9551 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.8109, allocations: 20.06 kB / 0.9551 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.811, allocations: 38.92 kB / 0.9551 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.8111, allocations: 12.98 kB / 0.9552 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.8112, allocations: 18.33 kB / 0.9552 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.8112, allocations: 22.31 kB / 0.9552 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.8113, allocations: 2.656 kB / 0.9552 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.8113, allocations: 5.25 kB / 0.9552 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.8113, allocations: 1.25 kB / 0.9552 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.8113, allocations: 36.7 kB / 0.9552 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.254e-05/0.8114, allocations: 41.41 kB / 0.9553 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8114, allocations: 1.094 kB / 0.9553 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8114, allocations: 0 / 0.9553 GB, free: 7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.8114, allocations: 0 / 0.9553 GB, free: 7 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.000392/0.8118, allocations: 350.4 kB / 0.9556 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.8119, allocations: 9.656 kB / 0.9556 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.8119, allocations: 36 kB / 0.9557 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.8119, allocations: 10.31 kB / 0.9557 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.812, allocations: 168.8 kB / 0.9558 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.8121, allocations: 2.531 kB / 0.9558 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.8121, allocations: 10.38 kB / 0.9558 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.8123, allocations: 72.52 kB / 0.9559 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8123, allocations: 0 / 0.9559 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.8123, allocations: 3.953 kB / 0.9559 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.8123, allocations: 5.188 kB / 0.9559 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.8125, allocations: 61.05 kB / 0.956 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.8129, allocations: 290.5 kB / 0.9562 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.8131, allocations: 69.19 kB / 0.9563 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.994e-05/0.8132, allocations: 38.41 kB / 0.9564 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.8132, allocations: 5.422 kB / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.8132, allocations: 38.56 kB / 0.9564 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.8132, allocations: 0 / 0.9564 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004152/0.8136, allocations: 119.1 kB / 0.9565 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.8137, allocations: 52.91 kB / 0.9566 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.8137, allocations: 111.3 kB / 0.9567 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.8138, allocations: 25.7 kB / 0.9567 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.8138, allocations: 89.27 kB / 0.9568 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.8138, allocations: 10.91 kB / 0.9568 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.8138, allocations: 0 / 0.9568 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.8139, allocations: 324.1 kB / 0.9571 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.586e-05/0.814, allocations: 32.92 kB / 0.9571 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-05/0.8141, allocations: 33 kB / 0.9572 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.047e-05/0.8142, allocations: 25.48 kB / 0.9572 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8142, allocations: 4 kB / 0.9572 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000208/0.8144, allocations: 94.44 kB / 0.9573 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.8144, allocations: 4.906 kB / 0.9573 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.8144, allocations: 2.656 kB / 0.9573 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.8144, allocations: 0 / 0.9573 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.8146, allocations: 17.84 kB / 0.9573 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8146, allocations: 0 / 0.9573 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.8146, allocations: 18.89 kB / 0.9573 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.8147, allocations: 1.312 kB / 0.9573 GB, free: 5.039 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 (intGreEquThr.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 5.843e-05/0.8147, allocations: 112.2 kB / 0.9574 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.8148, allocations: 9.312 kB / 0.9574 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.8148, allocations: 13.27 kB / 0.9574 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.8148, allocations: 5.281 kB / 0.9575 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8148, allocations: 0 / 0.9575 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8148, allocations: 1.344 kB / 0.9575 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.8149, allocations: 170.8 kB / 0.9576 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8149, allocations: 0 / 0.9576 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.815, allocations: 14.36 kB / 0.9576 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.815, allocations: 1.219 kB / 0.9576 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.8151, allocations: 7.953 kB / 0.9576 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8151, allocations: 1.281 kB / 0.9576 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8151, allocations: 4 kB / 0.9576 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.8153, allocations: 189.6 kB / 0.9578 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.8153, allocations: 78.2 kB / 0.9579 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.8154, allocations: 9.125 kB / 0.9579 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.8155, allocations: 14.53 kB / 0.9579 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.8155, allocations: 12.27 kB / 0.9579 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.8155, allocations: 1.312 kB / 0.9579 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.94e-05/0.8156, allocations: 84.95 kB / 0.958 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8156, allocations: 0 / 0.958 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002183/0.8158, allocations: 10.75 kB / 0.958 GB, free: 4.312 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 (intGreEquThr.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.0004439/0.8163, allocations: 0.7234 MB / 0.9587 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.8165, allocations: 72.33 kB / 0.9588 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8165, allocations: 3.938 kB / 0.9588 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.8166, allocations: 35.5 kB / 0.9588 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.0002852/0.8169, allocations: 15.97 kB / 0.9589 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.8178, allocations: 484.1 kB / 0.9593 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.8179, allocations: 0.6851 MB / 0.96 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.818, allocations: 7.906 kB / 0.96 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.818, allocations: 21.77 kB / 0.96 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.818, allocations: 0 / 0.96 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.8299, allocations: 1.536 MB / 0.9615 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.8301, allocations: 206.1 kB / 0.9617 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.61, allocations: 1.031 kB / 0.9617 GB, free: 1.504 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat does not exist to compare? outputFormat=mat