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.001148/0.001148, allocations: 100.2 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.001444/0.001444, allocations: 177.3 kB / 15.94 MB, free: 228 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.426/1.426, allocations: 223.2 MB / 239.9 MB, free: 5.34 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.399/2.399, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 16 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7663/0.7666, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.0008556/0.7675, allocations: 415.9 kB / 0.954 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00091/0.7685, allocations: 0.823 MB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.7685, allocations: 1.062 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.7686, allocations: 3.984 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.25e-05/0.7686, allocations: 5.109 kB / 0.9548 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.7688, allocations: 17.17 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.33e-05/0.7689, allocations: 23.53 kB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.769, allocations: 16.3 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.7691, allocations: 18.28 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.7691, allocations: 26.3 kB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.7692, allocations: 2.875 kB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.7692, allocations: 1.906 kB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.7692, allocations: 4.906 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.7692, allocations: 36.23 kB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.287e-05/0.7693, allocations: 30.33 kB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.7693, allocations: 4 kB / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7693, allocations: 0 / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.7693, allocations: 0 / 0.955 GB, free: 6.941 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.0004264/0.7698, allocations: 354.4 kB / 0.9553 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.7698, allocations: 9.969 kB / 0.9553 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.7699, allocations: 31.75 kB / 0.9554 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.7699, allocations: 6.188 kB / 0.9554 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.77, allocations: 178 kB / 0.9555 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.77, allocations: 5.281 kB / 0.9555 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.7701, allocations: 6.875 kB / 0.9556 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.7703, allocations: 67.19 kB / 0.9556 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.7703, allocations: 9.422 kB / 0.9556 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.7703, allocations: 3.953 kB / 0.9556 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.7703, allocations: 1.25 kB / 0.9556 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.7705, allocations: 60.11 kB / 0.9557 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.7709, allocations: 282.5 kB / 0.956 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.7711, allocations: 80.52 kB / 0.956 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.7712, allocations: 5.453 kB / 0.956 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.7712, allocations: 30.56 kB / 0.9561 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.7712, allocations: 0 / 0.9561 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000431/0.7716, allocations: 124 kB / 0.9562 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.7717, allocations: 51.41 kB / 0.9562 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.11e-05/0.7717, allocations: 106.8 kB / 0.9563 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.7718, allocations: 26.73 kB / 0.9564 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.7718, allocations: 94.7 kB / 0.9565 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.7718, allocations: 20.64 kB / 0.9565 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.7718, allocations: 7.875 kB / 0.9565 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/0.7719, allocations: 313.3 kB / 0.9568 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.772, allocations: 28.53 kB / 0.9568 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.7721, allocations: 29.92 kB / 0.9568 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.7722, allocations: 32.59 kB / 0.9569 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7722, allocations: 0 / 0.9569 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002439/0.7725, allocations: 90.84 kB / 0.957 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.7725, allocations: 10.3 kB / 0.957 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7725, allocations: 0 / 0.957 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7725, allocations: 0.9688 kB / 0.957 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.7727, allocations: 18 kB / 0.957 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.7727, allocations: 0 / 0.957 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.7728, allocations: 12.31 kB / 0.957 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.7728, allocations: 7.938 kB / 0.957 GB, free: 4.996 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 9.282e-05/0.7729, allocations: 120.3 kB / 0.9571 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.7729, allocations: 2.406 kB / 0.9571 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.7729, allocations: 13.42 kB / 0.9571 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.7729, allocations: 0 / 0.9571 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.773, allocations: 1.375 kB / 0.9571 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.773, allocations: 0 / 0.9571 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.7731, allocations: 171.7 kB / 0.9573 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7731, allocations: 0 / 0.9573 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.793e-05/0.7732, allocations: 17.92 kB / 0.9573 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7732, allocations: 1.219 kB / 0.9573 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.7732, allocations: 0 / 0.9573 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.7732, allocations: 5.172 kB / 0.9573 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7733, allocations: 0 / 0.9573 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.7736, allocations: 193.9 kB / 0.9575 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.7736, allocations: 82.58 kB / 0.9576 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.7736, allocations: 5.5 kB / 0.9576 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.7737, allocations: 10.17 kB / 0.9576 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.7738, allocations: 11.91 kB / 0.9576 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.7738, allocations: 1.438 kB / 0.9576 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.7738, allocations: 92.8 kB / 0.9577 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7738, allocations: 0 / 0.9577 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002187/0.7741, allocations: 7.375 kB / 0.9577 GB, free: 4.273 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.0004861/0.7745, allocations: 0.7344 MB / 0.9584 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.7748, allocations: 66.56 kB / 0.9585 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7748, allocations: 5.469 kB / 0.9585 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.775, allocations: 38.94 kB / 0.9585 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.7752, allocations: 6.109 kB / 0.9585 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.7762, allocations: 485.6 kB / 0.959 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.7764, allocations: 0.6856 MB / 0.9597 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.7764, allocations: 3.719 kB / 0.9597 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.7765, allocations: 18.48 kB / 0.9597 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7765, allocations: 0 / 0.9597 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.7887, allocations: 1.517 MB / 0.9612 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.789, allocations: 206.3 kB / 0.9614 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.513, allocations: 5.375 kB / 0.9614 GB, free: 1.469 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