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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.00112/0.00112, allocations: 172.2 kB / 498.1 MB, free: 5.738 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.502/1.502, allocations: 223.1 MB / 0.7948 GB, free: 18.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009752/0.0009752, allocations: 104.3 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 10.53 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2454, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1804/0.4259, allocations: 149.1 MB / 1.369 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4262, allocations: 71.95 kB / 1.369 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00299/0.4292, allocations: 0.9404 MB / 1.37 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4293, allocations: 0 / 1.37 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.4293, allocations: 0 / 1.37 GB, free: 3.211 MB / 0.8698 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.0004567/0.4298, allocations: 363.2 kB / 1.37 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.4298, allocations: 12.03 kB / 1.37 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.4299, allocations: 38.55 kB / 1.37 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.4299, allocations: 3.906 kB / 1.37 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.4301, allocations: 174.9 kB / 1.37 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.4301, allocations: 4 kB / 1.37 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.4301, allocations: 0 / 1.37 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.4303, allocations: 81.58 kB / 1.37 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4303, allocations: 0 / 1.37 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4303, allocations: 4 kB / 1.37 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.4304, allocations: 0 / 1.37 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.4306, allocations: 59.94 kB / 1.37 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.431, allocations: 288.8 kB / 1.37 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.4312, allocations: 70.48 kB / 1.371 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.4312, allocations: 4 kB / 1.371 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.4313, allocations: 30.7 kB / 1.371 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.4313, allocations: 0 / 1.371 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.000438/0.4317, allocations: 129.6 kB / 1.371 GB, free: 1.797 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.4318, allocations: 55.36 kB / 1.371 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.4319, allocations: 105 kB / 1.371 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.4319, allocations: 29.64 kB / 1.371 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.4319, allocations: 88.14 kB / 1.371 GB, free: 1.496 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.432, allocations: 7.812 kB / 1.371 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.432, allocations: 0 / 1.371 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.4321, allocations: 318.8 kB / 1.371 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.4322, allocations: 31.97 kB / 1.371 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.571e-05/0.4323, allocations: 27.97 kB / 1.371 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.4324, allocations: 27.98 kB / 1.371 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4324, allocations: 0 / 1.371 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002611/0.4327, allocations: 93.64 kB / 1.371 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4327, allocations: 7.938 kB / 1.371 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4327, allocations: 0 / 1.371 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4327, allocations: 3.938 kB / 1.371 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4329, allocations: 19.98 kB / 1.372 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4329, allocations: 0 / 1.372 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.433, allocations: 23.88 kB / 1.372 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.433, allocations: 336 / 1.372 GB, free: 0.9297 MB / 0.8698 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.u,intGreEquThr.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.361e-05/0.4331, allocations: 109.8 kB / 1.372 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.4331, allocations: 3.906 kB / 1.372 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.4332, allocations: 15.89 kB / 1.372 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/0.4332, allocations: 4 kB / 1.372 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4332, allocations: 4 kB / 1.372 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4332, allocations: 3.984 kB / 1.372 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.4334, allocations: 169.6 kB / 1.372 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4334, allocations: 0 / 1.372 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.4335, allocations: 15.98 kB / 1.372 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4335, allocations: 0 / 1.372 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4335, allocations: 7.984 kB / 1.372 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4335, allocations: 0 / 1.372 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4335, allocations: 4 kB / 1.372 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.4338, allocations: 195.4 kB / 1.372 GB, free: 332 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.4339, allocations: 81.02 kB / 1.372 GB, free: 232 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.4339, allocations: 4 kB / 1.372 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.434, allocations: 11.98 kB / 1.372 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.4341, allocations: 11.98 kB / 1.372 GB, free: 204 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.4341, allocations: 0 / 1.372 GB, free: 204 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.4342, allocations: 87.28 kB / 1.372 GB, free: 116 kB / 0.8698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4342, allocations: 0 / 1.372 GB, free: 116 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002244/0.4344, allocations: 15.94 kB / 1.372 GB, free: 100 kB / 0.8698 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.u,intGreEquThr.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.0006541/0.4351, allocations: 0.7356 MB / 1.373 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.4353, allocations: 71.89 kB / 1.373 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4353, allocations: 0 / 1.373 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.4355, allocations: 35.97 kB / 1.373 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.4357, allocations: 8 kB / 1.373 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009913/0.4367, allocations: 478.4 kB / 1.374 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.437, allocations: 0.6887 MB / 1.374 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.962e-05/0.4371, allocations: 4 kB / 1.374 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.4372, allocations: 23.36 kB / 1.374 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of SimCode: time 4.107e-06/0.4372, allocations: 3.938 kB / 1.374 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.4516, allocations: 1.507 MB / 1.376 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.4519, allocations: 194.5 kB / 1.376 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/1.921, allocations: 4 kB / 1.376 GB, free: 12.38 MB / 0.8855 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