Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.001124/0.001124, allocations: 97.91 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.00173/0.00173, 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 1.423/1.423, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.474/2.474, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.000405, allocations: 12 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7944/0.7948, allocations: 142.3 MB / 0.9536 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.0008539/0.7957, allocations: 419.8 kB / 0.954 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.7966, allocations: 0.8277 MB / 0.9548 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.7966, allocations: 0 / 0.9548 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.7967, allocations: 4.641 kB / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.041e-05/0.7967, allocations: 1.312 kB / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.7969, allocations: 19.95 kB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.388e-05/0.7969, allocations: 23.53 kB / 0.9549 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.797, allocations: 9.812 kB / 0.9549 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.7971, allocations: 25.75 kB / 0.9549 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.7972, allocations: 22.59 kB / 0.9549 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.7972, allocations: 2.125 kB / 0.9549 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.7972, allocations: 1.25 kB / 0.9549 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.7973, allocations: 5.438 kB / 0.9549 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.7973, allocations: 32.55 kB / 0.955 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.191e-05/0.7973, allocations: 33.69 kB / 0.955 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.7973, allocations: 0 / 0.955 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7974, allocations: 5.156 kB / 0.955 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.7974, allocations: 0 / 0.955 GB, free: 7.035 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.0004539/0.7978, allocations: 355.9 kB / 0.9553 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.7979, allocations: 9.688 kB / 0.9553 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.7979, allocations: 34.5 kB / 0.9554 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.7979, allocations: 6.156 kB / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.7981, allocations: 166.7 kB / 0.9555 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.7981, allocations: 9.406 kB / 0.9555 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.7981, allocations: 2.625 kB / 0.9556 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.7983, allocations: 71.36 kB / 0.9556 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7983, allocations: 1.25 kB / 0.9556 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.7983, allocations: 7.891 kB / 0.9556 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.7983, allocations: 1.594 kB / 0.9556 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.7986, allocations: 64.23 kB / 0.9557 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.7989, allocations: 287.7 kB / 0.956 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.7991, allocations: 72.95 kB / 0.956 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.7992, allocations: 3.953 kB / 0.956 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.7992, allocations: 36.09 kB / 0.9561 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.7992, allocations: 0 / 0.9561 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004184/0.7996, allocations: 118.6 kB / 0.9562 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.7996, allocations: 52.5 kB / 0.9562 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.516e-05/0.7997, allocations: 111.1 kB / 0.9563 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.7997, allocations: 25.7 kB / 0.9564 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.7998, allocations: 98.72 kB / 0.9565 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.7998, allocations: 9.875 kB / 0.9565 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.7998, allocations: 3.938 kB / 0.9565 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.7999, allocations: 319.9 kB / 0.9568 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.8, allocations: 28.97 kB / 0.9568 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.19e-05/0.8001, allocations: 29.23 kB / 0.9568 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.8002, allocations: 30 kB / 0.9569 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8002, allocations: 0 / 0.9569 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002392/0.8004, allocations: 98.84 kB / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.8005, allocations: 9.172 kB / 0.957 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.8005, allocations: 0 / 0.957 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.8005, allocations: 0 / 0.957 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.8006, allocations: 15.02 kB / 0.957 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.8006, allocations: 0 / 0.957 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.8007, allocations: 19.48 kB / 0.957 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.8007, allocations: 5 kB / 0.957 GB, free: 5.094 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 (intGreThr.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 6.25e-05/0.8008, allocations: 114.2 kB / 0.9571 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.8008, allocations: 2.344 kB / 0.9571 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.8008, allocations: 12.98 kB / 0.9571 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.8009, allocations: 0 / 0.9571 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8009, allocations: 4.969 kB / 0.9571 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.8009, allocations: 0 / 0.9571 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.801, allocations: 171.8 kB / 0.9573 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.801, allocations: 3.938 kB / 0.9573 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.8011, allocations: 18.08 kB / 0.9573 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8011, allocations: 1.125 kB / 0.9573 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.8011, allocations: 5.125 kB / 0.9573 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8011, allocations: 3.953 kB / 0.9573 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8011, allocations: 3.984 kB / 0.9573 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.8014, allocations: 189.6 kB / 0.9575 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.8015, allocations: 83.22 kB / 0.9576 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.8015, allocations: 3.938 kB / 0.9576 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.8016, allocations: 11.67 kB / 0.9576 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.8017, allocations: 16.41 kB / 0.9576 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.8017, allocations: 1.188 kB / 0.9576 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.8017, allocations: 84.75 kB / 0.9577 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8017, allocations: 0 / 0.9577 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002211/0.8019, allocations: 11.03 kB / 0.9577 GB, free: 4.367 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 (intGreThr.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.0004398/0.8024, allocations: 0.7313 MB / 0.9584 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.8026, allocations: 67.45 kB / 0.9585 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8026, allocations: 4 kB / 0.9585 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.8028, allocations: 35.28 kB / 0.9585 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.803, allocations: 9.078 kB / 0.9585 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008694/0.8038, allocations: 474.2 kB / 0.959 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.804, allocations: 0.6905 MB / 0.9597 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.344e-05/0.8041, allocations: 3.172 kB / 0.9597 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.8041, allocations: 18.52 kB / 0.9597 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8041, allocations: 0 / 0.9597 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.8154, allocations: 1.518 MB / 0.9612 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/0.8157, allocations: 199.7 kB / 0.9614 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.465, allocations: 4 kB / 0.9614 GB, free: 1.547 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat