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.307/2.307, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001562/0.001563, allocations: 184.8 kB / 487.4 MB, free: 5.023 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.451/1.451, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009806/0.0009804, allocations: 95.91 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.848e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2653, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9241/1.189, allocations: 148.3 MB / 1.351 GB, free: 17.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/1.19, allocations: 69.17 kB / 1.351 GB, free: 17.88 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003504/1.193, allocations: 0.9354 MB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.193, allocations: 0 / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.193, allocations: 5.281 kB / 1.352 GB, free: 33.54 MB / 0.8386 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.0004159/1.194, allocations: 349.2 kB / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.194, allocations: 9.094 kB / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/1.194, allocations: 6.438 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/1.194, allocations: 172 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/1.194, allocations: 4.75 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/1.194, allocations: 2.625 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.88e-05/1.194, allocations: 26.02 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/1.194, allocations: 50.59 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/1.194, allocations: 0 / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.194, allocations: 4.688 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/1.194, allocations: 0 / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/1.195, allocations: 269.6 kB / 1.353 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/1.195, allocations: 49.47 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/1.195, allocations: 15.02 kB / 1.353 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/1.195, allocations: 1.25 kB / 1.353 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/1.195, allocations: 36.55 kB / 1.353 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/1.195, allocations: 0 / 1.353 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001884/1.195, allocations: 52.38 kB / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/1.195, allocations: 57.31 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/1.195, allocations: 108.7 kB / 1.353 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/1.195, allocations: 26.98 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/1.195, allocations: 89.72 kB / 1.353 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/1.195, allocations: 10.53 kB / 1.353 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/1.195, allocations: 0 / 1.353 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.196, allocations: 317.2 kB / 1.353 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/1.196, allocations: 14.22 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/1.196, allocations: 10.38 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.887e-05/1.196, allocations: 14.2 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/1.196, allocations: 0 / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.406e-05/1.196, allocations: 56.09 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.196, allocations: 5.281 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.196, allocations: 0 / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1.196, allocations: 1.078 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/1.196, allocations: 17.44 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.196, allocations: 5.281 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/1.196, allocations: 17.12 kB / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/1.196, allocations: 2.578 kB / 1.354 GB, free: 31.94 MB / 0.8386 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 () * 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.061e-05/1.196, allocations: 110.2 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.694e-05/1.196, allocations: 55.5 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/1.196, allocations: 1.359 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/1.196, allocations: 16.08 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/1.196, allocations: 0 / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.196, allocations: 1.359 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.196, allocations: 1.938 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/1.197, allocations: 159.6 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.197, allocations: 0 / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/1.197, allocations: 14.92 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.197, allocations: 0 / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/1.197, allocations: 5.438 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.197, allocations: 0 / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.197, allocations: 7.781 kB / 1.354 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/1.197, allocations: 154.9 kB / 1.354 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/1.197, allocations: 82.62 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/1.197, allocations: 0 / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/1.197, allocations: 10.59 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/1.197, allocations: 12.66 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/1.197, allocations: 0 / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.195e-05/1.197, allocations: 83.78 kB / 1.354 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.197, allocations: 0 / 1.354 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002249/1.197, allocations: 19.56 kB / 1.354 GB, free: 31.29 MB / 0.8386 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 () * 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.0004317/1.198, allocations: 0.6952 MB / 1.355 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001033/1.198, allocations: 31.67 kB / 1.355 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.198, allocations: 0 / 1.355 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/1.198, allocations: 16.34 kB / 1.355 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/1.198, allocations: 10.86 kB / 1.355 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/1.199, allocations: 114.1 kB / 1.355 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/1.199, allocations: 0.6866 MB / 1.356 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.712e-05/1.199, allocations: 5.344 kB / 1.356 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/1.199, allocations: 11.92 kB / 1.356 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.199, allocations: 4 kB / 1.356 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/1.218, allocations: 1.188 MB / 1.357 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/1.218, allocations: 166.5 kB / 1.357 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.772, allocations: 0 / 1.357 GB, free: 29.54 MB / 0.8386 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