Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_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.001267/0.001267, allocations: 99.62 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.00159/0.00159, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.001/2.001, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.658/3.658, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005811/0.0005814, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.146, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001157/1.147, allocations: 428 kB / 0.9813 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001406/1.148, allocations: 0.8196 MB / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/1.148, allocations: 0 / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/1.148, allocations: 3.984 kB / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.709e-05/1.148, allocations: 3.938 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/1.149, allocations: 23.91 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.445e-05/1.149, allocations: 23.97 kB / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/1.149, allocations: 16 kB / 0.9822 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/1.149, allocations: 15.92 kB / 0.9822 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/1.149, allocations: 23.91 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/1.149, allocations: 0 / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/1.149, allocations: 7.938 kB / 0.9822 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/1.149, allocations: 3.984 kB / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/1.149, allocations: 37.64 kB / 0.9822 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.25e-05/1.149, allocations: 23.92 kB / 0.9823 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/1.149, allocations: 0 / 0.9823 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.914e-06/1.149, allocations: 4 kB / 0.9823 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.381e-06/1.149, allocations: 0 / 0.9823 GB, free: 4.863 MB / 0.7325 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.0005918/1.15, allocations: 355.3 kB / 0.9826 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.15, allocations: 12.02 kB / 0.9826 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/1.15, allocations: 34.56 kB / 0.9827 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/1.15, allocations: 7.906 kB / 0.9827 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/1.15, allocations: 167 kB / 0.9828 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/1.15, allocations: 8 kB / 0.9828 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/1.15, allocations: 4 kB / 0.9828 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/1.15, allocations: 77.53 kB / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.15, allocations: 0 / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/1.15, allocations: 4 kB / 0.9829 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/1.15, allocations: 4 kB / 0.9829 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/1.151, allocations: 63.94 kB / 0.983 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/1.151, allocations: 284.8 kB / 0.9832 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/1.151, allocations: 78.47 kB / 0.9833 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/1.151, allocations: 0 / 0.9833 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/1.151, allocations: 30.56 kB / 0.9834 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/1.151, allocations: 3.938 kB / 0.9834 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004459/1.152, allocations: 125.8 kB / 0.9835 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/1.152, allocations: 51.41 kB / 0.9835 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/1.152, allocations: 109.8 kB / 0.9836 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/1.152, allocations: 25.7 kB / 0.9837 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/1.152, allocations: 96.05 kB / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/1.152, allocations: 11.83 kB / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/1.152, allocations: 0 / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.152, allocations: 314.8 kB / 0.9841 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/1.152, allocations: 31.97 kB / 0.9841 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-05/1.153, allocations: 27.98 kB / 0.9841 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/1.153, allocations: 27.97 kB / 0.9841 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.153, allocations: 0 / 0.9841 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002454/1.153, allocations: 105.5 kB / 0.9842 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.153, allocations: 4 kB / 0.9842 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.153, allocations: 0 / 0.9842 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/1.153, allocations: 0 / 0.9842 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/1.153, allocations: 15.98 kB / 0.9843 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.153, allocations: 3.938 kB / 0.9843 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/1.153, allocations: 15.92 kB / 0.9843 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/1.153, allocations: 0 / 0.9843 GB, free: 2.582 MB / 0.7325 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 9.933e-05/1.153, allocations: 122.2 kB / 0.9844 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/1.153, allocations: 3.953 kB / 0.9844 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/1.153, allocations: 7.891 kB / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.153, allocations: 4 kB / 0.9844 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.153, allocations: 0 / 0.9844 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.153, allocations: 0 / 0.9844 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/1.154, allocations: 177.7 kB / 0.9846 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.154, allocations: 0 / 0.9846 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.971e-05/1.154, allocations: 19.98 kB / 0.9846 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/1.154, allocations: 3.953 kB / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/1.154, allocations: 0 / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.154, allocations: 320 / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.154, allocations: 7.938 kB / 0.9846 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/1.154, allocations: 195.3 kB / 0.9848 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/1.154, allocations: 77.11 kB / 0.9849 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/1.154, allocations: 7.953 kB / 0.9849 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/1.154, allocations: 7.984 kB / 0.9849 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/1.154, allocations: 11.98 kB / 0.9849 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/1.154, allocations: 4 kB / 0.9849 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.79e-05/1.154, allocations: 95.25 kB / 0.985 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.154, allocations: 0 / 0.985 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002197/1.155, allocations: 8 kB / 0.985 GB, free: 1.746 MB / 0.7325 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.0006669/1.155, allocations: 0.7241 MB / 0.9857 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003835/1.156, allocations: 67.88 kB / 0.9858 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.156, allocations: 0 / 0.9858 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/1.156, allocations: 35.98 kB / 0.9858 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/1.156, allocations: 15.94 kB / 0.9858 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/1.158, allocations: 483.6 kB / 0.9863 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/1.158, allocations: 0.685 MB / 0.987 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.959e-05/1.158, allocations: 4 kB / 0.987 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/1.158, allocations: 19.42 kB / 0.987 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of SimCode: time 7.82e-07/1.158, allocations: 0 / 0.987 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/1.175, allocations: 1.517 MB / 0.9885 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/1.175, allocations: 208.1 kB / 0.9887 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.497, allocations: 0 / 0.9887 GB, free: 14.04 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat does not exist to compare? outputFormat=mat