Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_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.001077/0.001077, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.002014/0.002014, allocations: 172.7 kB / 15.95 MB, free: 208 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 / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.599/2.599, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 16 kB / 0.8378 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8667/0.8671, allocations: 146.8 MB / 0.9812 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00104/0.8682, allocations: 429.5 kB / 0.9816 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.8693, allocations: 0.8219 MB / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.8693, allocations: 0 / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.8694, allocations: 0 / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.05e-05/0.8695, allocations: 7.938 kB / 0.9824 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.8696, allocations: 23.97 kB / 0.9824 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.883e-05/0.8697, allocations: 35.92 kB / 0.9824 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.8698, allocations: 15.97 kB / 0.9824 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.8699, allocations: 11.94 kB / 0.9825 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.513e-05/0.87, allocations: 23.91 kB / 0.9825 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.87, allocations: 0 / 0.9825 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.87, allocations: 4 kB / 0.9825 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.87, allocations: 7.938 kB / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.8701, allocations: 33.64 kB / 0.9825 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.853e-05/0.8701, allocations: 35.91 kB / 0.9826 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.8702, allocations: 0 / 0.9826 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.285e-06/0.8702, allocations: 4 kB / 0.9826 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.8702, allocations: 0 / 0.9826 GB, free: 4.734 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.0005086/0.8707, allocations: 349.5 kB / 0.9829 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.8707, allocations: 12.03 kB / 0.9829 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.8708, allocations: 30.56 kB / 0.9829 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.8708, allocations: 7.906 kB / 0.9829 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.871, allocations: 175 kB / 0.9831 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.871, allocations: 0 / 0.9831 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.871, allocations: 4 kB / 0.9831 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.8712, allocations: 77.55 kB / 0.9832 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8713, allocations: 3.938 kB / 0.9832 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.8713, allocations: 0 / 0.9832 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.8713, allocations: 0 / 0.9832 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.8715, allocations: 63.95 kB / 0.9833 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.8721, allocations: 292.7 kB / 0.9835 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.8723, allocations: 74.48 kB / 0.9836 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.8724, allocations: 36.91 kB / 0.9836 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.8724, allocations: 0 / 0.9836 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.8724, allocations: 38.56 kB / 0.9837 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.8724, allocations: 0 / 0.9837 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004115/0.8729, allocations: 121.8 kB / 0.9838 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.8729, allocations: 55.34 kB / 0.9838 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.873, allocations: 109.8 kB / 0.9839 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.873, allocations: 25.7 kB / 0.984 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.8731, allocations: 92.03 kB / 0.9841 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.8731, allocations: 11.84 kB / 0.9841 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.8731, allocations: 0 / 0.9841 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8733, allocations: 314.8 kB / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-05/0.8734, allocations: 31.97 kB / 0.9844 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.863e-05/0.8735, allocations: 35.91 kB / 0.9844 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/0.8736, allocations: 27.97 kB / 0.9845 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.8736, allocations: 4 kB / 0.9845 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002277/0.8738, allocations: 97.52 kB / 0.9846 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.8738, allocations: 9.094 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8739, allocations: 3.984 kB / 0.9846 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8739, allocations: 0 / 0.9846 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.874, allocations: 19.92 kB / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.874, allocations: 0 / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.799e-05/0.8741, allocations: 8 kB / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.8741, allocations: 7.984 kB / 0.9846 GB, free: 2.41 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 (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 9.777e-05/0.8742, allocations: 109.8 kB / 0.9847 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.8742, allocations: 7.953 kB / 0.9847 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.8743, allocations: 7.906 kB / 0.9847 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.8743, allocations: 4 kB / 0.9847 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.8743, allocations: 4 kB / 0.9847 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.8743, allocations: 4 kB / 0.9847 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.8745, allocations: 169.6 kB / 0.9849 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.8745, allocations: 0 / 0.9849 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/0.8746, allocations: 15.98 kB / 0.9849 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.8746, allocations: 3.953 kB / 0.9849 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.8746, allocations: 0 / 0.9849 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8746, allocations: 0 / 0.9849 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8746, allocations: 3.938 kB / 0.9849 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.8749, allocations: 199.3 kB / 0.9851 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.875, allocations: 77.11 kB / 0.9852 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.875, allocations: 7.938 kB / 0.9852 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.8751, allocations: 12 kB / 0.9852 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.8752, allocations: 11.98 kB / 0.9852 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.8752, allocations: 7.984 kB / 0.9852 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.663e-05/0.8752, allocations: 83.28 kB / 0.9853 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8752, allocations: 0 / 0.9853 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002207/0.8755, allocations: 8 kB / 0.9853 GB, free: 1.59 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 (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.0006299/0.8761, allocations: 0.7318 MB / 0.986 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.8764, allocations: 64.19 kB / 0.9861 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8764, allocations: 0 / 0.9861 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.8765, allocations: 39.91 kB / 0.9861 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.8768, allocations: 15.89 kB / 0.9861 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009564/0.8778, allocations: 482.6 kB / 0.9866 GB, free: 196 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.878, allocations: 0.6848 MB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.929e-05/0.8781, allocations: 8 kB / 0.9873 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.8782, allocations: 19.42 kB / 0.9873 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of SimCode: time 7.22e-07/0.8782, allocations: 0 / 0.9873 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.8906, allocations: 1.532 MB / 0.9888 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.8908, allocations: 203.4 kB / 0.989 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.662, allocations: 4.062 kB / 0.989 GB, free: 13.86 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat