Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008528/0.0008528, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8801/0.8801, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.742/1.742, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.563e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001195/0.001211, allocations: 0.7863 MB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008003/0.002011, allocations: 0.9063 MB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.002077, allocations: 7.938 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.318e-05/0.00217, allocations: 7.875 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.012e-05/0.0022, allocations: 15.86 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.002366, allocations: 31.84 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.553e-05/0.002462, allocations: 83.66 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.002552, allocations: 23.97 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.002673, allocations: 39.91 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.675e-05/0.00273, allocations: 31.91 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.002744, allocations: 4 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.359e-05/0.002777, allocations: 8 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.00279, allocations: 11.92 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.002813, allocations: 23.92 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.002932, allocations: 83.66 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.002935, allocations: 4 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002936, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002939, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000345/0.003284, allocations: 318 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.003318, allocations: 8.75 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.626e-05/0.003344, allocations: 38.75 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.003437, allocations: 16.88 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.003598, allocations: 137.6 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-06/0.003607, allocations: 4.375 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.003616, allocations: 8.375 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.003716, allocations: 58.23 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.003724, allocations: 12.11 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.003732, allocations: 4.375 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.003738, allocations: 4.125 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.196e-05/0.003799, allocations: 31.98 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.004094, allocations: 283.7 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.374e-05/0.004187, allocations: 46.56 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.004216, allocations: 21 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.004227, allocations: 4 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.004242, allocations: 30.56 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004243, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001499/0.004393, allocations: 73.66 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.004417, allocations: 55.41 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.931e-05/0.004486, allocations: 135.1 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.004499, allocations: 29.7 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.004543, allocations: 100.1 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.004553, allocations: 15.89 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.004581, allocations: 25.64 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.004651, allocations: 314.8 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.068e-05/0.004682, allocations: 19.98 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.004704, allocations: 19.98 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.00475, allocations: 28.84 kB / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.004751, allocations: 0 / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.52e-05/0.004826, allocations: 69.58 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.004837, allocations: 5.875 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.00484, allocations: 4 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.004849, allocations: 3.984 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.839e-05/0.004888, allocations: 4 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.004891, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.004923, allocations: 11.98 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.004928, allocations: 0 / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.529e-05/0.004983, allocations: 117.8 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.004997, allocations: 7.953 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.005018, allocations: 12.33 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.005021, allocations: 8 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.005024, allocations: 0 / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.005026, allocations: 0 / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.005131, allocations: 148.7 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005132, allocations: 0 / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.005148, allocations: 4 kB / 1.004 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.005149, allocations: 4.266 kB / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.005156, allocations: 0 / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.005156, allocations: 0 / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.9e-07/0.005157, allocations: 0 / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.005257, allocations: 171.4 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.005267, allocations: 11.88 kB / 1.004 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.005281, allocations: 4 kB / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.38e-05/0.005324, allocations: 7.984 kB / 1.004 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.005368, allocations: 11.98 kB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.005371, allocations: 0 / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.005416, allocations: 103.3 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005416, allocations: 0 / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001493/0.005565, allocations: 11.94 kB / 1.004 GB, free: 8.59 MB / 0.9636 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002667/0.005832, allocations: 0.6967 MB / 1.005 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.93e-05/0.005921, allocations: 31.98 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005923, allocations: 0 / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.834e-05/0.005951, allocations: 19.92 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.006138, allocations: 24.2 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.007307, allocations: 1.378 MB / 1.006 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.769e-05/0.007354, allocations: 75.33 kB / 1.006 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.007383, allocations: 7.984 kB / 1.006 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.007429, allocations: 20.5 kB / 1.006 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.007429, allocations: 0 / 1.006 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.02228, allocations: 2.717 MB / 1.009 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.505/6.528, allocations: 8.938 kB / 1.009 GB, free: 3.633 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.54972451645881]